diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-31 15:00:12 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-31 15:00:12 -0600 |
commit | d6036264c87e5498196e3d4ea63d8405a7d4e568 (patch) | |
tree | eecd014b4aa71b893e3a567f05ca3d93360e7141 /nuttx/audio | |
parent | f2cf7cd40275e048c34cf77dc86144219ac95881 (diff) | |
download | px4-nuttx-d6036264c87e5498196e3d4ea63d8405a7d4e568.tar.gz px4-nuttx-d6036264c87e5498196e3d4ea63d8405a7d4e568.tar.bz2 px4-nuttx-d6036264c87e5498196e3d4ea63d8405a7d4e568.zip |
Audio: More debug outpu
Diffstat (limited to 'nuttx/audio')
-rw-r--r-- | nuttx/audio/audio.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 */ |