nuttx/audio/audio.h: add ac_chmap support for both input & output

Change-Id: Ic582868fa3099943c4c28ccca7e33f7b3a2afbf7
This commit is contained in:
ligd 2020-09-22 20:41:28 +08:00 committed by Xiang Xiao
parent 44d7f14121
commit b54e9ffccc

View File

@ -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 */