C# Класс Gablarski.OpenAL.CaptureDevice

Наследование: Device
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
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

Описание методов

Close() публичный Метод

public Close ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

GetSamples() публичный Метод

Gets the available samples.
public GetSamples ( ) : byte[]
Результат byte[]

GetSamples() публичный Метод

Gets the available samples and provides the number of samples.
public GetSamples ( int &numSamples ) : byte[]
numSamples int The number of samples returned.
Результат byte[]

Open() публичный Метод

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.
Результат CaptureDevice

StartCapture() публичный Метод

Starts capturing.
public StartCapture ( ) : void
Результат void

StopCapture() публичный Метод

Stops capturing.
public StopCapture ( ) : void
Результат void