mirror of
https://github.com/apache/nuttx.git
synced 2026-10-12 16:50:21 +00:00
nuttx/audio: ap_buffer_s add nsamples Field for non-pcm formats
Signed-off-by: renjianguang <renjianguang@xiaomi.com>
This commit is contained in:
parent
e655d8f992
commit
7ff17d0627
1 changed files with 1 additions and 0 deletions
|
|
@ -462,6 +462,7 @@ struct ap_buffer_s
|
|||
apb_samp_t nmaxbytes; /* The maximum number of bytes */
|
||||
apb_samp_t nbytes; /* The number of bytes used */
|
||||
apb_samp_t curbyte; /* Next byte to be processed */
|
||||
apb_samp_t nsamples; /* The number of samples in the buffer */
|
||||
mutex_t lock; /* Reference locking mutex */
|
||||
uint16_t flags; /* Buffer flags */
|
||||
uint16_t crefs; /* Number of reference counts */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue