Telematics SDK - Interface Specification
v1.13.0
|
Data Structures | |
struct | StreamConfig |
struct | ChannelVolume |
struct | StreamVolume |
struct | StreamMute |
struct | StreamBuffer |
class | AudioFactory |
AudioFactory allows creation of audio manager. More... | |
class | IAudioManager |
Audio Manager is a primary interface for audio operations. It provide APIs to manage Streams ( like voice, play, record etc) and sound cards. More... | |
class | IAudioDevice |
Audio device and it's characteristics like Direction (Sink or Source), type. More... | |
class | IAudioStream |
IAudioStream represents single audio stream with base properties. More... | |
class | IAudioVoiceStream |
IAudioVoiceStream represents single voice stream. More... | |
class | IAudioPlayStream |
IAudioPlayStream represents single audio playback stream. More... | |
class | IAudioCaptureStream |
IAudioCaptureStream represents single audio capture stream. More... | |
Typedefs | |
using | ChannelTypeMask = int |
using | GetDevicesResponseCb = std::function< void(std::vector< std::shared_ptr< IAudioDevice >> devices, telux::common::ErrorCode error)> |
using | GetStreamTypesResponseCb = std::function< void(std::vector< StreamType > streamTypes, telux::common::ErrorCode error)> |
using | CreateStreamResponseCb = std::function< void(std::shared_ptr< IAudioStream > &stream, telux::common::ErrorCode error)> |
using | DeleteStreamResponseCb = std::function< void(telux::common::ErrorCode error)> |
using | GetStreamDeviceResponseCb = std::function< void(std::vector< DeviceType > devices, telux::common::ErrorCode error)> |
using | GetStreamVolumeResponseCb = std::function< void(StreamVolume volume, telux::common::ErrorCode error)> |
using | GetStreamMuteResponseCb = std::function< void(StreamMute mute, telux::common::ErrorCode error)> |
Enumerations | |
enum | DeviceType { DEVICE_TYPE_NONE = -1, DEVICE_TYPE_SPEAKER = 1, DEVICE_TYPE_MIC = 257 } |
enum | DeviceDirection { DeviceDirection::NONE = -1, DeviceDirection::RX = 1, DeviceDirection::TX = 2 } |
enum | StreamType { StreamType::NONE = -1, StreamType::VOICE_CALL = 1, StreamType::PLAY = 2, StreamType::CAPTURE = 3 } |
enum | StreamDirection { StreamDirection::NONE = -1, StreamDirection::RX = 1, StreamDirection::TX = 2 } |
enum | ChannelType { LEFT = (1 << 0), RIGHT = (1 << 1) } |
enum | AudioFormat { AudioFormat::UNKNOWN = -1, AudioFormat::PCM_16BIT_SIGNED = 1 } |