From ecbf10b4705be1c494c7b5615b47c64685afebff Mon Sep 17 00:00:00 2001 From: shipei Date: Mon, 15 May 2023 11:11:44 +0800 Subject: [PATCH] modify type of numbytes in audio_buf_desc_s from uint16_t to apb_samp_t Signed-off-by: shipei --- 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 9504e5d3be3..74c33211e5c 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 */