Struct Tryll::AudioFormat¶
ClassList > Tryll > AudioFormat
#include <VoiceInput.h>
Public Attributes¶
| Type | Name |
|---|---|
| std::uint16_t | bitsPerSample = 16Only 16-bit PCM is supported. |
| std::uint16_t | channels = 1Channel count (mic capture is typically 1). |
| std::uint32_t | sampleRate = 16000Sample rate in Hz (e.g. 48000 for mic capture). |
Detailed Description¶
Declares the audio format of samples the client will push via SendAudioBuffer. The server resamples to 16 kHz mono int16 as needed.
Public Attributes Documentation¶
variable bitsPerSample¶
Only 16-bit PCM is supported.
variable channels¶
Channel count (mic capture is typically 1).
variable sampleRate¶
Sample rate in Hz (e.g. 48000 for mic capture).
The documentation for this class was generated from the following file C:/_tryll/_monorepo2/server/client-cpp/include/tryll/VoiceInput.h