C# Class Windows8.Conference.WebRTC.NAudioCaptureProvider

Inheritance: AudioCaptureProvider
Exibir arquivo Open project: QuickBlox/quickblox-dotnet-sdk

Public Methods

Method Description
Destroy ( ) : void

Destroys this instance.

GetAudioDeviceInfo ( int audioDeviceNumber ) : DeviceInformation
GetAudioDeviceInfos ( ) : DeviceInformationCollection
GetDeviceNames ( ) : string[]

Gets the connected device names.

GetLabel ( ) : string

Gets the label of the audio device.

Initialize ( AudioCaptureInitializeArgs captureArgs ) : void

Initializes the audio capture provider.

Start ( ) : bool

Starts the audio capture.

Stop ( ) : void

Stops the audio capture.

Private Methods

Method Description
FloatBytesToShortBytes ( byte floatData, int floatIndex, byte shortData, int shortIndex, int sampleCount ) : void
NAudioCaptureProvider ( ) : FM
StartWasapi ( ) : void
StopWasapi ( ) : void
WasapiIn_DataAvailable ( object sender, NAudio.Wave.WaveInEventArgs e ) : void

Method Details

Destroy() public method

Destroys this instance.
public Destroy ( ) : void
return void

GetAudioDeviceInfo() public static method

public static GetAudioDeviceInfo ( int audioDeviceNumber ) : DeviceInformation
audioDeviceNumber int
return Windows.Devices.Enumeration.DeviceInformation

GetAudioDeviceInfos() public static method

public static GetAudioDeviceInfos ( ) : DeviceInformationCollection
return DeviceInformationCollection

GetDeviceNames() public method

Gets the connected device names.
public GetDeviceNames ( ) : string[]
return string[]

GetLabel() public method

Gets the label of the audio device.
public GetLabel ( ) : string
return string

Initialize() public method

Initializes the audio capture provider.
public Initialize ( AudioCaptureInitializeArgs captureArgs ) : void
captureArgs AudioCaptureInitializeArgs The arguments.
return void

Start() public method

Starts the audio capture.
public Start ( ) : bool
return bool

Stop() public method

Stops the audio capture.
public Stop ( ) : void
return void