anbox-platform-sdk
1.23.0
Anbox Platform SDK API documentation
|
The audio input/output format from anbox. More...
#include <types.h>
Public Attributes | |
uint32_t | freq |
AnboxAudioFormat | format |
uint8_t | channels |
uint16_t | samples |
The audio input/output format from anbox.
E.g. AnboxAudioSpec spec{44100, AUDIO_FORMAT_PCM_16_BIT, 2, 4096}; The above spec indicates the audio data is sampled 44100 times per second, 16-bit pcm audio format, two channel with 4kb buffer size in samples.
uint8_t AnboxAudioSpec::channels |
AnboxAudioFormat AnboxAudioSpec::format |
uint32_t AnboxAudioSpec::freq |
uint16_t AnboxAudioSpec::samples |