You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/05/15 11:34:42 UTC
[nuttx] branch master updated: modify type of numbytes in audio_buf_desc_s from uint16_t to apb_samp_t
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new ecbf10b470 modify type of numbytes in audio_buf_desc_s from uint16_t to apb_samp_t
ecbf10b470 is described below
commit ecbf10b4705be1c494c7b5615b47c64685afebff
Author: shipei <sh...@xiaomi.com>
AuthorDate: Mon May 15 11:11:44 2023 +0800
modify type of numbytes in audio_buf_desc_s from uint16_t to apb_samp_t
Signed-off-by: shipei <sh...@xiaomi.com>
---
include/nuttx/audio/audio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/nuttx/audio/audio.h b/include/nuttx/audio/audio.h
index 9504e5d3be..74c33211e5 100644
--- a/include/nuttx/audio/audio.h
+++ b/include/nuttx/audio/audio.h
@@ -484,7 +484,7 @@ struct audio_buf_desc_s
#ifdef CONFIG_AUDIO_MULTI_SESSION
FAR void *session; /* Associated channel */
#endif
- uint16_t numbytes; /* Number of bytes to allocate */
+ apb_samp_t numbytes; /* Number of bytes to allocate */
union
{
FAR struct ap_buffer_s *buffer; /* Buffer to free / enqueue */