我要评分
获取效率
正确性
完整性
易理解

AudioPlayParams

Variable Description

Audio playback parameters.

Restrictions

The bitrate parameter is valid only in OPUS format, and the sampleInterval parameter is valid in both OPUS and PCM formats.

Variable Data Definition

struct AudioPlayParams {
    uint32_t sampleInterval = 10;               // ms
    uint32_t bitrate = 192000;                  // The unit is bit/s. This parameter is valid only in OPUS format.
} __attribute__((packed));