diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-03-11 05:04:48 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-03-11 05:04:48 +0000 |
commit | 5d63776a24cb3de9f5ddbfbfb13ce03e50264c03 (patch) | |
tree | 9f8665f020b326e9ffc24799579240a044e35d3c /firmware/target/arm/wmcodec-pp.c | |
parent | a1a4034b82630bc94bfd37dac4e1c3f30afaccd5 (diff) |
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
Diffstat (limited to 'firmware/target/arm/wmcodec-pp.c')
-rw-r--r-- | firmware/target/arm/wmcodec-pp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/wmcodec-pp.c b/firmware/target/arm/wmcodec-pp.c index e252cf0ac1..505a31deb4 100644 --- a/firmware/target/arm/wmcodec-pp.c +++ b/firmware/target/arm/wmcodec-pp.c @@ -92,6 +92,10 @@ int audiohw_init(void) { return 0; } +void audiohw_postinit(void) +{ +} + void wmcodec_write(int reg, int data) { pp_i2c_send(I2C_AUDIO_ADDRESS, (reg<<1) | ((data&0x100)>>8),data&0xff); |