summaryrefslogtreecommitdiff
path: root/nuttx/drivers/audio/audio_null.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-25 11:27:29 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-25 11:27:29 -0600
commitf107733608516b43452be2a428d7da6e94fdd5a6 (patch)
tree585d30d4f15b127ed8bcec001cd3f3fe621d2c36 /nuttx/drivers/audio/audio_null.c
parentcf5cf56cb94f6299a38a8d1765723e82b2afc5bf (diff)
downloadnuttx-f107733608516b43452be2a428d7da6e94fdd5a6.tar.gz
nuttx-f107733608516b43452be2a428d7da6e94fdd5a6.tar.bz2
nuttx-f107733608516b43452be2a428d7da6e94fdd5a6.zip
Audio: Fix some compilation issues introduced with some of the recent changes
Diffstat (limited to 'nuttx/drivers/audio/audio_null.c')
-rw-r--r--nuttx/drivers/audio/audio_null.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/drivers/audio/audio_null.c b/nuttx/drivers/audio/audio_null.c
index f599f0972..526e8d204 100644
--- a/nuttx/drivers/audio/audio_null.c
+++ b/nuttx/drivers/audio/audio_null.c
@@ -583,6 +583,9 @@ static int null_stop(FAR struct audio_lowerhalf_s *dev)
FAR void *value;
/* Send a message to stop all audio streaming */
+ /* REVISIT: There should be a check to see if the worker thread is still
+ * running.
+ */
term_msg.msgId = AUDIO_MSG_STOP;
term_msg.u.data = 0;