BB FlashBack SDK: FBRecorder

GetSoundDevice

Description

Returns the name and ID of a sound device, given its index.

Find the number of sound devices and therefore the range of indexes by using FBRecorder::SoundDevicesCount.

Syntax

[C#/C++]
Public void GetSoundDevice (long Index, BSTR *DeviceName , long *ID);

[VB.NET]
public Sub GetSoundDevice (ByVal Index as Integer, ByRef DeviceName as String, ByRef ID as Integer)

Parameters

Index (in): the index of the device

DeviceName (out): the name of the sound device

ID (out): the ID of the device

Remarks

Use FBRecorder:SoundDevice to set the sound device that will be recorded.

See Also

FBRecorder::SoundDevice  FBRecorder::SoundDevicesCount