TeamTalk 5 Java DLL Version 5.15A
|
IDs for sound devices. More...
Static Public Attributes | |
const int | TT_SOUNDDEVICE_ID_REMOTEIO = 0 |
Sound device ID for iOS AudioUnit subtype Remote I/O Unit. | |
const int | TT_SOUNDDEVICE_ID_VOICEPREPROCESSINGIO = (1 | (int)TT_SOUNDDEVICE_ID_SHARED_FLAG) |
Sound device ID for iOS AudioUnit subtype Voice-Processing I/O Unit. This sound device ID include the flag BearWare.SoundDeviceConstants.TT_SOUNDDEVICE_ID_SHARED_FLAG since multiple streams cannot be recorded/played on the device. | |
const int | TT_SOUNDDEVICE_ID_OPENSLES_DEFAULT = 0 |
Sound device ID for Android OpenSL ES default audio device. Note that this sound device may also exist in the form where the nDeviceID as been or'ed with BearWare.SoundDeviceConstants.TT_SOUNDDEVICE_ID_SHARED_FLAG. | |
const int | TT_SOUNDDEVICE_ID_OPENSLES_VOICECOM = 1 |
Sound device ID for Android OpenSL ES voice communication mode. This device uses the OpenSL ES' AndroidConfiguration SL_ANDROID_RECORDING_PRESET_VOICE_COMMUNICATION . | |
const int | TT_SOUNDDEVICE_ID_TEAMTALK_VIRTUAL = 1978 |
Sound device ID for virtual TeamTalk sound device. | |
const uint | TT_SOUNDDEVICE_ID_SHARED_FLAG = 0x00000800 |
Flag/bit in nDeviceID telling if the BearWare.SoundDevice is a shared version of an existing sound device. | |
const uint | TT_SOUNDDEVICE_ID_MASK = 0x000007FF |
Extract sound device ID of nDeviceID in BearWare.SoundDevice by and'ing this value. | |
IDs for sound devices.
Definition at line 336 of file TeamTalk.cs.
|
static |
Sound device ID for iOS AudioUnit subtype Remote I/O Unit.
Definition at line 340 of file TeamTalk.cs.
|
static |
Sound device ID for iOS AudioUnit subtype Voice-Processing I/O Unit. This sound device ID include the flag BearWare.SoundDeviceConstants.TT_SOUNDDEVICE_ID_SHARED_FLAG since multiple streams cannot be recorded/played on the device.
Definition at line 346 of file TeamTalk.cs.
|
static |
Sound device ID for Android OpenSL ES default audio device. Note that this sound device may also exist in the form where the nDeviceID
as been or'ed with BearWare.SoundDeviceConstants.TT_SOUNDDEVICE_ID_SHARED_FLAG.
Definition at line 351 of file TeamTalk.cs.
|
static |
Sound device ID for Android OpenSL ES voice communication mode. This device uses the OpenSL ES' AndroidConfiguration SL_ANDROID_RECORDING_PRESET_VOICE_COMMUNICATION
.
Definition at line 356 of file TeamTalk.cs.
|
static |
Sound device ID for virtual TeamTalk sound device.
This is a sound device which decodes received audio packets but does not send the decoded audio to a real sound device. When used for recording the virtual sound device injects silence.
In duplex mode the virtual TeamTalk sound device can only be used as input/output device.
Definition at line 365 of file TeamTalk.cs.
|
static |
Flag/bit in nDeviceID
telling if the BearWare.SoundDevice is a shared version of an existing sound device.
On Android the recording device can only be used by one TeamTalk instance. As a workaround for this issue a shared recording device has been introduced. Internally TeamTalk initializes BearWare.SoundDeviceConstants.TT_SOUNDDEVICE_ID_OPENSLES_DEFAULT which then resample and distribution the audio data to multiple TeamTalk instances.
The shared audio device on Android will show up as (TT_SOUNDDEVICE_ID_OPENSLES_DEFAULT | TT_SOUNDDEVICE_ID_SHARED_FLAG), i.e. 2048.
Definition at line 381 of file TeamTalk.cs.
|
static |
Extract sound device ID of nDeviceID
in BearWare.SoundDevice by and'ing this value.
let PhysicalDeviceID = (SoundDevice.nDeviceID & TT_SOUNDDEVICE_ID_MASK).
Definition at line 387 of file TeamTalk.cs.