From 5d63776a24cb3de9f5ddbfbfb13ce03e50264c03 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sun, 11 Mar 2007 05:04:48 +0000 Subject: Reenable aynchronous audio init stage. Really just single stage with aynchronous enabling of outputs. Keeps audio_init last so prior init steps can use the audiobuffer in any desired way. Audio will be fully initialized by the time the UI is entered. Playback of voice or audio will be delayed properly until audio hardware is ready. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12714 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/gigabeat/meg-fx/wmcodec-meg-fx.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/target/arm/gigabeat/meg-fx') diff --git a/firmware/target/arm/gigabeat/meg-fx/wmcodec-meg-fx.c b/firmware/target/arm/gigabeat/meg-fx/wmcodec-meg-fx.c index fd023e1be0..fe42b7527a 100644 --- a/firmware/target/arm/gigabeat/meg-fx/wmcodec-meg-fx.c +++ b/firmware/target/arm/gigabeat/meg-fx/wmcodec-meg-fx.c @@ -61,6 +61,10 @@ int audiohw_init(void) { return 0; } +void audiohw_postinit(void) +{ +} + void wmcodec_write(int reg, int data) { i2c_send(0x34, (reg<<1) | ((data&0x100)>>8), data&0xff); -- cgit v1.2.3