C# Class ManagedBass.PlaybackDevice

Bass Playback Device.
Inheritance: IDisposable
Mostra file Open project: ManagedBass/ManagedBass Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Frees an initialized Device

GetByIndex ( int Device ) : PlaybackDevice

Get Device by Index.

Init ( int Frequency = 44100, DeviceInitFlags Flags = DeviceInitFlags.Default ) : bool

Initialize a Device for Playback

Pause ( ) : bool

Pause Output.

Start ( ) : bool

Start Output.

Stop ( ) : bool

Stop Output.

ToString ( ) : string

Returns the Name of the Device

Private Methods

Method Description
Ensure ( ) : void
PlaybackDevice ( int DeviceIndex ) : System

Method Details

Dispose() public method

Frees an initialized Device
public Dispose ( ) : void
return void

GetByIndex() public static method

Get Device by Index.
public static GetByIndex ( int Device ) : PlaybackDevice
Device int
return PlaybackDevice

Init() public method

Initialize a Device for Playback
public Init ( int Frequency = 44100, DeviceInitFlags Flags = DeviceInitFlags.Default ) : bool
Frequency int
Flags DeviceInitFlags
return bool

Pause() public method

Pause Output.
public Pause ( ) : bool
return bool

Start() public method

Start Output.
public Start ( ) : bool
return bool

Stop() public method

Stop Output.
public Stop ( ) : bool
return bool

ToString() public method

Returns the Name of the Device
public ToString ( ) : string
return string