mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-30 05:40:45 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -669,7 +669,7 @@ static int nxplayer_readbuffer(FAR struct nxplayer_s *pplayer,
|
|||
|
||||
if (apb->nbytes < apb->nmaxbytes)
|
||||
{
|
||||
#ifdef CONFIG_DEBUG_AUDIO_INFO
|
||||
#if defined (CONFIG_DEBUG_AUDIO_INFO) || defined (CONFIG_DEBUG_AUDIO_ERROR)
|
||||
int errcode = errno;
|
||||
|
||||
audinfo("Closing audio file, nbytes=%d errcode=%d\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue