From d6036264c87e5498196e3d4ea63d8405a7d4e568 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 31 Jul 2014 15:00:12 -0600 Subject: Audio: More debug outpu --- nuttx/audio/audio.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nuttx/audio') diff --git a/nuttx/audio/audio.c b/nuttx/audio/audio.c index 5ed2ab176..aae2b4c21 100644 --- a/nuttx/audio/audio.c +++ b/nuttx/audio/audio.c @@ -585,6 +585,8 @@ static int audio_ioctl(FAR struct file *filep, int cmd, unsigned long arg) case AUDIOIOC_REGISTERMQ: { + audvdbg("AUDIOIOC_REGISTERMQ\n"); + upper->usermq = (mqd_t) arg; ret = OK; } @@ -597,6 +599,8 @@ static int audio_ioctl(FAR struct file *filep, int cmd, unsigned long arg) case AUDIOIOC_UNREGISTERMQ: { + audvdbg("AUDIOIOC_UNREGISTERMQ\n"); + upper->usermq = NULL; ret = OK; } @@ -609,6 +613,7 @@ static int audio_ioctl(FAR struct file *filep, int cmd, unsigned long arg) case AUDIOIOC_RESERVE: { + audvdbg("AUDIOIOC_RESERVE\n"); DEBUGASSERT(lower->ops->reserve != NULL); /* Call lower-half to perform the reservation */ @@ -628,6 +633,7 @@ static int audio_ioctl(FAR struct file *filep, int cmd, unsigned long arg) case AUDIOIOC_RELEASE: { + audvdbg("AUDIOIOC_RELEASE\n"); DEBUGASSERT(lower->ops->release != NULL); /* Call lower-half to perform the release */ -- cgit v1.2.3