mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-05 21:27:51 +00:00
system/nxrecorder/nxrecorder.c: Don't assume debug macro expansion
This commit is contained in:
parent
ed768d1159
commit
ce3ca22152
1 changed files with 4 additions and 0 deletions
|
|
@ -484,7 +484,9 @@ static void *nxrecorder_recordthread(pthread_addr_t pvarg)
|
|||
|
||||
/* Send a stop message to the device */
|
||||
|
||||
#ifdef CONFIG_DEBUG_FEATURES
|
||||
audinfo("Stopping! outstanding=%d\n", outstanding);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_AUDIO_MULTI_SESSION
|
||||
ioctl(precorder->dev_fd, AUDIOIOC_STOP,
|
||||
|
|
@ -503,7 +505,9 @@ static void *nxrecorder_recordthread(pthread_addr_t pvarg)
|
|||
/* Message indicating the recordback is complete */
|
||||
|
||||
case AUDIO_MSG_COMPLETE:
|
||||
#ifdef CONFIG_DEBUG_FEATURES
|
||||
audinfo("Record complete. outstanding=%d\n", outstanding);
|
||||
#endif
|
||||
running = false;
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue