BearWare.SoundDevice Struct Reference
[Sound Capture and Playback]

A struct containing the properties of a sound device for either playback or recording. More...

List of all members.

Public Attributes

int nDeviceID
 The ID of the sound device. Used for passing to TeamTalk4.InitSoundInputDevice() and TeamTalk4.InitSoundOutputDevice(). Note that nDeviceID might change if USB sound devices are plugged in or unplugged, therefore use szDeviceID to ensure proper device is used.
SoundSystem nSoundSystem
 The sound system used by the sound device.
string szDeviceName
 The name of the sound device.
string szDeviceID
 An identifier uniquely identifying the sound device even when new sound devices are being added and removed. In DirectSound and WinMM it would be the GUID of the sound device. Note that it may not always be available.
int nWaveDeviceID
 The ID of the device used in Win32's waveInGetDevCaps and waveOutGetDevCaps.
bool bSupports3D
 Whether the sound device supports 3D-sound effects.
int nMaxInputChannels
 The maximum number of input channels.
int nMaxOutputChannels
 The maximum number of output channels.
int[] supportedSampleRates
 Supported sample rates by device. A zero value terminates the list of supported sample rates or its maximum size of 16. Investigating the support sample rates is usually only required on Linux since sound devices often don't numerous sample rates.

Detailed Description

A struct containing the properties of a sound device for either playback or recording.

Use nDeviceID to pass to TeamTalk4.InitSoundInputDevice() or TeamTalk4.InitSoundOutputDevice().

Note that the nDeviceID may change if the user application is restarted and a new sound device is added or removed from the computer.

See also:
TeamTalk4.GetSoundInputDevices
TeamTalk4.GetSoundOutputDevices

Member Data Documentation

The ID of the sound device. Used for passing to TeamTalk4.InitSoundInputDevice() and TeamTalk4.InitSoundOutputDevice(). Note that nDeviceID might change if USB sound devices are plugged in or unplugged, therefore use szDeviceID to ensure proper device is used.

The sound system used by the sound device.

The name of the sound device.

An identifier uniquely identifying the sound device even when new sound devices are being added and removed. In DirectSound and WinMM it would be the GUID of the sound device. Note that it may not always be available.

The ID of the device used in Win32's waveInGetDevCaps and waveOutGetDevCaps.

Value will be -1 if no ID could be found This ID can also be used to find the corresponding mixer on Windows passing it as nWaveDeviceID. Note that this ID applies both to DirectSound and WinMM.

See also:
WindowsMixer.GetWaveInName
WindowsMixer.GetWaveOutName
WindowsMixer.GetMixerCount

Whether the sound device supports 3D-sound effects.

The maximum number of input channels.

The maximum number of output channels.

Supported sample rates by device. A zero value terminates the list of supported sample rates or its maximum size of 16. Investigating the support sample rates is usually only required on Linux since sound devices often don't numerous sample rates.

Generated on Sun Mar 18 17:16:14 2012 for TeamTalk 4 .NET DLL by  doxygen 1.6.3