Skip to content

AudioOutputFormat

The PCM format of one audio output session. Every host accepts mono signed 16-bit little-endian samples at 8000 to 48000 Hz inclusive; a service may refuse further rates with the same audio_format_unsupported code (CapabilityMismatch).

channels: 1

Always mono.


encoding: "pcm_s16le"

Always signed 16-bit little-endian PCM.


sampleRate: number

Samples per second, 8000 to 48000 inclusive.