system: nxplayer: Fix a compile error if CONFIG_DEBUG_AUDIO_ERROR=y
Summary: - This commit fixes a compile error Impact: - Affects nxplayer with CONFIG_DEBUG_AUDIO_ERROR=y Testing: - Tested with spresense:rndis Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
parent
e5e3c36b35
commit
03c3b2ed0f
@ -669,7 +669,7 @@ static int nxplayer_readbuffer(FAR struct nxplayer_s *pplayer,
|
|||||||
|
|
||||||
if (apb->nbytes < apb->nmaxbytes)
|
if (apb->nbytes < apb->nmaxbytes)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_DEBUG_AUDIO_INFO
|
#if defined (CONFIG_DEBUG_AUDIO_INFO) || defined (CONFIG_DEBUG_AUDIO_ERROR)
|
||||||
int errcode = errno;
|
int errcode = errno;
|
||||||
|
|
||||||
audinfo("Closing audio file, nbytes=%d errcode=%d\n",
|
audinfo("Closing audio file, nbytes=%d errcode=%d\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user