C# 클래스 Gablarski.OpenAL.CaptureDevice

상속: Device
파일 보기 프로젝트 열기: ermau/Gablarski 1 사용 예제들

공개 메소드들

메소드 설명
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