summaryrefslogtreecommitdiff
path: root/firmware/export/tlv320.h
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2009-01-20 22:55:10 +0000
committerChristian Gmeiner <christian.gmeiner@gmail.com>2009-01-20 22:55:10 +0000
commitad6b6d764bf736a243d3422b0b53d4b673c8e2fd (patch)
tree958c7b676b4c20f0cdda7c3964c6250064bad61c /firmware/export/tlv320.h
parent9f08068ecf0accc307bbf5da082e5d2b72eaaa96 (diff)
cleanup audiohw_set_frequency by adding it to audiohw.h and removing it from all driver .h files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19806 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/tlv320.h')
-rw-r--r--firmware/export/tlv320.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/firmware/export/tlv320.h b/firmware/export/tlv320.h
index 171223f5bb..66f4d5ca92 100644
--- a/firmware/export/tlv320.h
+++ b/firmware/export/tlv320.h
@@ -28,17 +28,6 @@
extern int tenthdb2master(int db);
/*** definitions ***/
-
-/**
- * Sets internal sample rate for DAC and ADC relative to MCLK
- * Selection for frequency:
- * Fs: tlv: with:
- * 11025: 0 = MCLK/2 MCLK/2 SCLK, LRCK: Audio Clk / 16
- * 22050: 0 = MCLK/2 MCLK SCLK, LRCK: Audio Clk / 8
- * 44100: 1 = MCLK MCLK SCLK, LRCK: Audio Clk / 4 (default)
- * 88200: 2 = MCLK*2 MCLK SCLK, LRCK: Audio Clk / 2
- */
-extern void audiohw_set_frequency(int fsel);
extern void audiohw_set_headphone_vol(int vol_l, int vol_r);
#define HEADPHONE_MUTE 0x30 /* 0110000 = -73db */