summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/gigabeat/meg-fx/pcm-meg-fx.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-03-11 06:21:43 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-03-11 06:21:43 +0000
commitc2d2106fd76ae553a9f7b2418265209468cbb9e6 (patch)
treec6cb223091ed8dfeb943ede41a5d3e59efeeeade /firmware/target/arm/gigabeat/meg-fx/pcm-meg-fx.c
parentc5cd27f5d1d601e109d6884fe689ec876fc28561 (diff)
downloadrockbox-c2d2106fd76ae553a9f7b2418265209468cbb9e6.tar.gz
rockbox-c2d2106fd76ae553a9f7b2418265209468cbb9e6.zip
Audio Init: Just can't stand that heirarchy. Add one level of abstraction. Might come in handy anyhow. Use sound.h instead of the conditional includes for audio hardware headers. If someone doesn't like that, yell at my evil twin. :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12718 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/gigabeat/meg-fx/pcm-meg-fx.c')
-rw-r--r--firmware/target/arm/gigabeat/meg-fx/pcm-meg-fx.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/target/arm/gigabeat/meg-fx/pcm-meg-fx.c b/firmware/target/arm/gigabeat/meg-fx/pcm-meg-fx.c
index 7e1cebc555..0f22aa5c5c 100644
--- a/firmware/target/arm/gigabeat/meg-fx/pcm-meg-fx.c
+++ b/firmware/target/arm/gigabeat/meg-fx/pcm-meg-fx.c
@@ -20,7 +20,7 @@
#include "kernel.h"
#include "logf.h"
#include "audio.h"
-#include "wm8975.h"
+#include "sound.h"
#include "file.h"
#include "mmu-meg-fx.h"
@@ -120,7 +120,10 @@ void pcm_init(void)
}
-
+void pcm_postinit(void)
+{
+ audiohw_postinit();
+}
void pcm_play_dma_start(const void *addr, size_t size)
{