summaryrefslogtreecommitdiff
path: root/nuttx/configs/sama5d4-ek/src
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-22 15:54:56 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-22 15:54:56 -0600
commitf485ee1c197bd29727218dbb68b48df47f816dda (patch)
tree65dca766843dc4befd19d5a83fd295d197d204fa /nuttx/configs/sama5d4-ek/src
parente793665a9bb98dcb75143f60bacdf958e5128f33 (diff)
downloadpx4-nuttx-f485ee1c197bd29727218dbb68b48df47f816dda.tar.gz
px4-nuttx-f485ee1c197bd29727218dbb68b48df47f816dda.tar.bz2
px4-nuttx-f485ee1c197bd29727218dbb68b48df47f816dda.zip
Rename pcm_decode.h to pcm.h since it will hold more than just decoding definitions. Fix some porting errors like idbg should auddbg, etc. Add wav file header and a few low-level wav utilities.
Diffstat (limited to 'nuttx/configs/sama5d4-ek/src')
-rw-r--r--nuttx/configs/sama5d4-ek/src/sam_wm8904.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/configs/sama5d4-ek/src/sam_wm8904.c b/nuttx/configs/sama5d4-ek/src/sam_wm8904.c
index 012d33f82..d10fa38f9 100644
--- a/nuttx/configs/sama5d4-ek/src/sam_wm8904.c
+++ b/nuttx/configs/sama5d4-ek/src/sam_wm8904.c
@@ -47,8 +47,8 @@
#include <nuttx/i2c.h>
#include <nuttx/audio/i2s.h>
+#include <nuttx/audio/pcm.h>
#include <nuttx/audio/wm8904.h>
-#include <nuttx/audio/pcm_decode.h>
#include <arch/board/board.h>
@@ -152,13 +152,13 @@ static int wm8904_attach(FAR const struct wm8904_lower_s *lower,
* new handler will called via wm8904_interrupt() when the interrupt occurs.
*/
- ivdbg("Attaching %p\n", isr);
+ audvdbg("Attaching %p\n", isr);
g_mxtinfo.handler = isr;
g_mxtinfo.arg = arg;
}
else
{
- ivdbg("Detaching %p\n", g_mxtinfo.handler);
+ audvdbg("Detaching %p\n", g_mxtinfo.handler);
wm8904_enable(lower, false);
g_mxtinfo.handler = NULL;
g_mxtinfo.arg = NULL;