C# Class Gablarski.OpenAL.CaptureDevice

Inheritance: Device
Afficher le fichier Open project: ermau/Gablarski Class Usage Examples

Méthodes publiques

Méthode Description
Close ( ) : void
GetSamples ( ) : byte[]

Gets the available samples.

GetSamples ( int &numSamples ) : byte[]

Gets the available samples and provides the number of samples.

Open ( uint frequency, OpenALAudioFormat format ) : CaptureDevice

Opens the capture device with the specified frequency and format.

StartCapture ( ) : void

Starts capturing.

StopCapture ( ) : void

Stops capturing.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
CaptureDevice ( string deviceName ) : System
GetSamples ( int numSamples, bool block ) : byte[]
GetSamplesAvailable ( ) : int
alcCaptureCloseDevice ( IntPtr device ) : void
alcCaptureOpenDevice ( string deviceName, uint frequency, OpenALAudioFormat format, int bufferSize ) : IntPtr
alcCaptureSamples ( IntPtr device, IntPtr buffer, int numSamples ) : void
alcCaptureStart ( IntPtr device ) : void
alcCaptureStop ( IntPtr device ) : void

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetSamples() public méthode

Gets the available samples.
public GetSamples ( ) : byte[]
Résultat byte[]

GetSamples() public méthode

Gets the available samples and provides the number of samples.
public GetSamples ( int &numSamples ) : byte[]
numSamples int The number of samples returned.
Résultat byte[]

Open() public méthode

Opens the capture device with the specified frequency and format.
public Open ( uint frequency, OpenALAudioFormat format ) : CaptureDevice
frequency uint The frequency to open the capture device with.
format OpenALAudioFormat The audio format to open the device with.
Résultat CaptureDevice

StartCapture() public méthode

Starts capturing.
public StartCapture ( ) : void
Résultat void

StopCapture() public méthode

Stops capturing.
public StopCapture ( ) : void
Résultat void