C# Class ManagedBass.Wasapi.WasapiDevice

Represents a WASAPI Device
Inheritance: IDisposable
Show file Open project: ManagedBass/ManagedBass

Public Methods

Method Description
Dispose ( ) : void

Frees the Device.

Equals ( object Obj ) : bool

Compares objects for Equality.

GetHashCode ( ) : int

Returns the Device Index.

Start ( ) : bool

Starts the device.

Stop ( bool Reset = true ) : bool

Stops the device.

ToString ( ) : string

Returns a string representation of the Wasapi Device.

Private Methods

Method Description
Ensure ( ) : void
OnProc ( IntPtr Buffer, int Length, IntPtr User ) : int
WasapiDevice ( int Index ) : System
_Init ( int Frequency, int Channels, bool Shared, bool UseEventSync, int Buffer, int Period ) : bool

Method Details

Dispose() public method

Frees the Device.
public Dispose ( ) : void
return void

Equals() public method

Compares objects for Equality.
public Equals ( object Obj ) : bool
Obj object
return bool

GetHashCode() public method

Returns the Device Index.
public GetHashCode ( ) : int
return int

Start() public method

Starts the device.
public Start ( ) : bool
return bool

Stop() public method

Stops the device.
public Stop ( bool Reset = true ) : bool
Reset bool
return bool

ToString() public method

Returns a string representation of the Wasapi Device.
public ToString ( ) : string
return string