C# Class ManagedBass.Wasapi.WasapiPlaybackDevice

Represents a Wasapi Playback Device.
Inheritance: WasapiDevice
Afficher le fichier Open project: ManagedBass/ManagedBass Class Usage Examples

Méthodes publiques

Méthode Description
AddOutputSource ( int Channel ) : bool

Adds a Bass Channel to Wasapi Output Mixer.

Get ( int Device ) : WasapiPlaybackDevice

Get Device By Index.

Init ( int Frequency = 44100, int Channels = 2, bool Shared = true, bool UseEventSync = false, int Buffer, int Period ) : bool

Initialises the device.

RemoveOutputSource ( int Channel ) : bool

Removes a Bass Channel from Wasapi Output Mixer.

Private Methods

Méthode Description
OnProc ( IntPtr Buffer, int Length, IntPtr User ) : int
WasapiPlaybackDevice ( int Index ) : ManagedBass.Mix

Method Details

AddOutputSource() public méthode

Adds a Bass Channel to Wasapi Output Mixer.
public AddOutputSource ( int Channel ) : bool
Channel int
Résultat bool

Get() public static méthode

Get Device By Index.
public static Get ( int Device ) : WasapiPlaybackDevice
Device int
Résultat WasapiPlaybackDevice

Init() public méthode

Initialises the device.
public Init ( int Frequency = 44100, int Channels = 2, bool Shared = true, bool UseEventSync = false, int Buffer, int Period ) : bool
Frequency int
Channels int
Shared bool
UseEventSync bool
Buffer int
Period int
Résultat bool

RemoveOutputSource() public méthode

Removes a Bass Channel from Wasapi Output Mixer.
public RemoveOutputSource ( int Channel ) : bool
Channel int
Résultat bool