summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2008-02-12 20:40:53 +0000
committerChristian Gmeiner <christian.gmeiner@gmail.com>2008-02-12 20:40:53 +0000
commit341188d68d266c1522c278ed425ffea6b4015a2e (patch)
tree8cc64194778cf3db14bf02fd36f36716067c32e5
parent99db6dbafe4b151d960499b1dcf032f9e4797dbe (diff)
downloadrockbox-341188d68d266c1522c278ed425ffea6b4015a2e.tar.gz
rockbox-341188d68d266c1522c278ed425ffea6b4015a2e.zip
move audiohw_postinit to audiohw.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16293 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/audiohw.h5
-rw-r--r--firmware/export/sound.h2
-rw-r--r--firmware/export/wm8731.h1
3 files changed, 5 insertions, 3 deletions
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
@@ -109,6 +109,11 @@ extern const struct sound_settings_info audiohw_settings[];
109void audiohw_init(void); 109void audiohw_init(void);
110 110
111/** 111/**
112 * Do some stuff (codec related) after audiohw_init.
113 */
114void audiohw_postinit(void);
115
116/**
112 * Close audio codec. 117 * Close audio codec.
113 */ 118 */
114void audiohw_close(void); 119void audiohw_close(void);
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 @@
22#include <inttypes.h> 22#include <inttypes.h>
23#include <audiohw.h> 23#include <audiohw.h>
24 24
25extern void audiohw_postinit(void);
26
27typedef void sound_set_type(int value); 25typedef void sound_set_type(int value);
28 26
29const char *sound_unit(int setting); 27const 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);
28extern int tenthdb2mixer(int db); 28extern int tenthdb2mixer(int db);
29 29
30extern void audiohw_preinit(void); 30extern void audiohw_preinit(void);
31extern void audiohw_postinit(void);
32extern int audiohw_set_master_vol(int vol_l, int vol_r); 31extern int audiohw_set_master_vol(int vol_l, int vol_r);
33extern void audiohw_set_nsorder(int order); 32extern void audiohw_set_nsorder(int order);
34extern void audiohw_set_sample_rate(int sampling_control); 33extern void audiohw_set_sample_rate(int sampling_control);