mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 18:27:56 +08:00
nuttx/audio: clear apb buffer when playback dequeue
memset apb buffer to zero when dequeue Signed-off-by: yangyalei <yangyalei@xiaomi.com>
This commit is contained in:
@@ -732,16 +732,12 @@ struct audio_caps_desc_s
|
||||
|
||||
struct audio_info_s
|
||||
{
|
||||
uint32_t samplerate; /* Sample Rate of the audio data */
|
||||
uint8_t channels; /* Number of channels (1, 2, 5, 7) */
|
||||
uint8_t format; /* Audio data format */
|
||||
uint8_t subformat; /* Audio subformat
|
||||
* (maybe should be combined with format?)
|
||||
*/
|
||||
|
||||
/* Codec extra params */
|
||||
|
||||
struct audio_codec_s codec;
|
||||
uint32_t samplerate; /* Sample Rate of the audio data */
|
||||
uint8_t channels; /* Number of channels (1, 2, 5, 7) */
|
||||
uint8_t format; /* Audio data format */
|
||||
uint8_t subformat; /* Audio subformat */
|
||||
uint8_t type; /* device type */
|
||||
struct audio_codec_s codec; /* Codec extra params */
|
||||
};
|
||||
|
||||
/* This structure describes the preferred number and size of
|
||||
|
||||
Reference in New Issue
Block a user