From b54e9ffccc2c793da2e8c6fb2d7e79f75afbd28b Mon Sep 17 00:00:00 2001 From: ligd Date: Tue, 22 Sep 2020 20:41:28 +0800 Subject: [PATCH] nuttx/audio/audio.h: add ac_chmap support for both input & output Change-Id: Ic582868fa3099943c4c28ccca7e33f7b3a2afbf7 --- include/nuttx/audio/audio.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/nuttx/audio/audio.h b/include/nuttx/audio/audio.h index d70581e7e5..ff19d0a9a2 100644 --- a/include/nuttx/audio/audio.h +++ b/include/nuttx/audio/audio.h @@ -356,7 +356,10 @@ struct audio_caps_s uint8_t ac_len; /* Length of the structure */ uint8_t ac_type; /* Capabilities (device) type */ uint8_t ac_subtype; /* Capabilities sub-type, if needed */ - uint8_t ac_channels; /* Number of channels (1, 2, 5, 7) */ + uint8_t ac_channels; /* Number of channels (1, 2, 3, ... 8) */ + uint8_t ac_chmap; /* Channel map, each ch for each bit, + * zero means don't care */ + uint8_t reserved; /* Reserved for future use */ /* Audio data format(s) for this device */