C# Class NewTOAPIA.Media.WinMM.WinMMAudioDevice

Datei anzeigen Open project: Wiladams/NewTOAPIA

Protected Properties

Property Type Description
fCallbackMethod WaveCallback
fDeviceHandle System.IntPtr
fDeviceID int
fPCMFormat PCMAudioFormat
fWaveFormat TOAPI.Types.WAVEFORMATEX

Public Methods

Method Description
Close ( ) : void
DeviceClosed ( IntPtr devHandle ) : void
DeviceOpened ( IntPtr devHandle ) : void
OnInputData ( IntPtr wavhdr, IntPtr param2 ) : void
Open ( ) : void
OutputDone ( IntPtr wavhdr, IntPtr param2 ) : void
Reset ( ) : void
WinMMAudioDevice ( int deviceID, WAVEFORMATEX wf ) : System
WinMMAudioDevice ( int deviceID, int channels, int sampleRate, int bitsPerSample ) : System

Protected Methods

Method Description
DefaultAudioCallback ( IntPtr deviceHandle, int uMsg, IntPtr userData, IntPtr wavhdr, IntPtr reserved ) : void

Method Details

Close() abstract public method

abstract public Close ( ) : void
return void

DefaultAudioCallback() protected method

protected DefaultAudioCallback ( IntPtr deviceHandle, int uMsg, IntPtr userData, IntPtr wavhdr, IntPtr reserved ) : void
deviceHandle System.IntPtr
uMsg int
userData System.IntPtr
wavhdr System.IntPtr
reserved System.IntPtr
return void

DeviceClosed() public method

public DeviceClosed ( IntPtr devHandle ) : void
devHandle System.IntPtr
return void

DeviceOpened() public method

public DeviceOpened ( IntPtr devHandle ) : void
devHandle System.IntPtr
return void

OnInputData() public method

public OnInputData ( IntPtr wavhdr, IntPtr param2 ) : void
wavhdr System.IntPtr
param2 System.IntPtr
return void

Open() abstract public method

abstract public Open ( ) : void
return void

OutputDone() public method

public OutputDone ( IntPtr wavhdr, IntPtr param2 ) : void
wavhdr System.IntPtr
param2 System.IntPtr
return void

Reset() abstract public method

abstract public Reset ( ) : void
return void

WinMMAudioDevice() public method

public WinMMAudioDevice ( int deviceID, WAVEFORMATEX wf ) : System
deviceID int
wf TOAPI.Types.WAVEFORMATEX
return System

WinMMAudioDevice() public method

public WinMMAudioDevice ( int deviceID, int channels, int sampleRate, int bitsPerSample ) : System
deviceID int
channels int
sampleRate int
bitsPerSample int
return System

Property Details

fCallbackMethod protected_oe property

protected WaveCallback fCallbackMethod
return WaveCallback

fDeviceHandle protected_oe property

protected IntPtr,System fDeviceHandle
return System.IntPtr

fDeviceID protected_oe property

protected int fDeviceID
return int

fPCMFormat protected_oe property

protected PCMAudioFormat,NewTOAPIA.Media.WinMM fPCMFormat
return PCMAudioFormat

fWaveFormat protected_oe property

protected WAVEFORMATEX,TOAPI.Types fWaveFormat
return TOAPI.Types.WAVEFORMATEX