diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-04-27 10:30:54 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-04-27 10:30:54 +0000 |
commit | 27fac88548366f57c32931ed4d7c7dfc5b4f1627 (patch) | |
tree | e45132b551ce39a44a6fefa31e85971cea6df47e /firmware/export/audiohw.h | |
parent | fec6af659f809d47f6e750975289e220908396fe (diff) | |
download | rockbox-27fac88548366f57c32931ed4d7c7dfc5b4f1627.tar.gz rockbox-27fac88548366f57c32931ed4d7c7dfc5b4f1627.zip |
Gigabeat S: Implement i2c driver - transmit works but no testing of receiving which will get a chance later. Add some seeds for codec driver. Correct a few #defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17254 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/audiohw.h')
-rw-r--r-- | firmware/export/audiohw.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/firmware/export/audiohw.h b/firmware/export/audiohw.h index 73c50b8412..190fcca7a8 100644 --- a/firmware/export/audiohw.h +++ b/firmware/export/audiohw.h | |||
@@ -27,7 +27,9 @@ | |||
27 | #include "uda1380.h" | 27 | #include "uda1380.h" |
28 | #elif defined(HAVE_WM8751) | 28 | #elif defined(HAVE_WM8751) |
29 | #include "wm8751.h" | 29 | #include "wm8751.h" |
30 | #elif defined(HAVE_WM8975) || defined(HAVE_WM8978) | 30 | #elif defined(HAVE_WM8978) |
31 | #include "wm8978.h" | ||
32 | #elif defined(HAVE_WM8975) | ||
31 | #include "wm8975.h" | 33 | #include "wm8975.h" |
32 | #elif defined(HAVE_WM8985) | 34 | #elif defined(HAVE_WM8985) |
33 | #include "wm8985.h" | 35 | #include "wm8985.h" |
@@ -109,7 +111,14 @@ extern const struct sound_settings_info audiohw_settings[]; | |||
109 | void audiohw_init(void); | 111 | void audiohw_init(void); |
110 | 112 | ||
111 | /** | 113 | /** |
112 | * Do some stuff (codec related) after audiohw_init. | 114 | * Do initial audio codec setup. |
115 | */ | ||
116 | void audiohw_preinit(void); | ||
117 | |||
118 | /** | ||
119 | * Do some stuff (codec related) after audiohw_init that needs to be | ||
120 | * delayed such as enabling outputs to prevent popping. This lets | ||
121 | * other inits in the system complete in the meantime. | ||
113 | */ | 122 | */ |
114 | void audiohw_postinit(void); | 123 | void audiohw_postinit(void); |
115 | 124 | ||