audio: Fix caps initialization in pcm_enqueuebuffer()
Summary: - I noticed that caps is not correctly initialized. - This commit fixes this issue. Impact: - None Testing: - Tested with spresense:wifi_smp + nxplayer Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
parent
d9b95c5ca0
commit
44e8772ee9
|
@ -1092,6 +1092,7 @@ static int pcm_enqueuebuffer(FAR struct audio_lowerhalf_s *dev,
|
|||
if (headersize > 0)
|
||||
{
|
||||
struct audio_caps_s caps;
|
||||
memset(&caps, 0, sizeof(caps));
|
||||
|
||||
/* Configure the lower level for the number of channels, bitrate,
|
||||
* and sample bitwidth.
|
||||
|
|
Loading…
Reference in New Issue