From 341188d68d266c1522c278ed425ffea6b4015a2e Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Tue, 12 Feb 2008 20:40:53 +0000 Subject: move audiohw_postinit to audiohw.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16293 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/audiohw.h | 5 +++++ firmware/export/sound.h | 2 -- firmware/export/wm8731.h | 1 - 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'firmware') diff --git a/firmware/export/audiohw.h b/firmware/export/audiohw.h index 224cf20d18..ca706811a0 100644 --- a/firmware/export/audiohw.h +++ b/firmware/export/audiohw.h @@ -108,6 +108,11 @@ extern const struct sound_settings_info audiohw_settings[]; */ void audiohw_init(void); +/** + * Do some stuff (codec related) after audiohw_init. + */ +void audiohw_postinit(void); + /** * Close audio codec. */ diff --git a/firmware/export/sound.h b/firmware/export/sound.h index 5933f4cc75..f243e75633 100644 --- a/firmware/export/sound.h +++ b/firmware/export/sound.h @@ -22,8 +22,6 @@ #include #include -extern void audiohw_postinit(void); - typedef void sound_set_type(int value); const char *sound_unit(int setting); diff --git a/firmware/export/wm8731.h b/firmware/export/wm8731.h index 1ee616619a..701aab5d87 100644 --- a/firmware/export/wm8731.h +++ b/firmware/export/wm8731.h @@ -28,7 +28,6 @@ extern int tenthdb2master(int db); extern int tenthdb2mixer(int db); extern void audiohw_preinit(void); -extern void audiohw_postinit(void); extern int audiohw_set_master_vol(int vol_l, int vol_r); extern void audiohw_set_nsorder(int order); extern void audiohw_set_sample_rate(int sampling_control); -- cgit v1.2.3