summaryrefslogtreecommitdiff
path: root/firmware/export/tlv320.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-12-12 11:01:07 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-12-12 11:01:07 +0000
commite69d567d9ebf7d236ff9663b11ac396cc71dcd75 (patch)
tree093b9d1bc979d79be1fcd0daac1d8daf8ac55503 /firmware/export/tlv320.h
parent0ad97d13fc52b28de566dc0ddaf7245583eec2cc (diff)
downloadrockbox-e69d567d9ebf7d236ff9663b11ac396cc71dcd75.tar.gz
rockbox-e69d567d9ebf7d236ff9663b11ac396cc71dcd75.zip
Bring consistency to pcm implementation and samplerate handling. Less low-level duplication. A small test_sampr fix so it works on coldfire again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19400 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/tlv320.h')
-rw-r--r--firmware/export/tlv320.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/tlv320.h b/firmware/export/tlv320.h
index 91c4a67623..171223f5bb 100644
--- a/firmware/export/tlv320.h
+++ b/firmware/export/tlv320.h
@@ -38,7 +38,7 @@ extern int tenthdb2master(int db);
38 * 44100: 1 = MCLK MCLK SCLK, LRCK: Audio Clk / 4 (default) 38 * 44100: 1 = MCLK MCLK SCLK, LRCK: Audio Clk / 4 (default)
39 * 88200: 2 = MCLK*2 MCLK SCLK, LRCK: Audio Clk / 2 39 * 88200: 2 = MCLK*2 MCLK SCLK, LRCK: Audio Clk / 2
40 */ 40 */
41extern void audiohw_set_frequency(unsigned fsel); 41extern void audiohw_set_frequency(int fsel);
42extern void audiohw_set_headphone_vol(int vol_l, int vol_r); 42extern void audiohw_set_headphone_vol(int vol_l, int vol_r);
43 43
44#define HEADPHONE_MUTE 0x30 /* 0110000 = -73db */ 44#define HEADPHONE_MUTE 0x30 /* 0110000 = -73db */