diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2006-12-06 10:24:59 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2006-12-06 10:24:59 +0000 |
commit | 77d039bab8591e991001bf8680f9915854483809 (patch) | |
tree | cf45a738b7c68e2fac18513965027901a4240787 /firmware/export/uda1380.h | |
parent | 46a608bf07ec9d40bdd151e3283646682bb9e9bd (diff) |
first step in audio driver unification: renaming the functions to audio_*
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11670 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/uda1380.h')
-rw-r--r-- | firmware/export/uda1380.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/firmware/export/uda1380.h b/firmware/export/uda1380.h index 639ca8aa5c..4b70e795bf 100644 --- a/firmware/export/uda1380.h +++ b/firmware/export/uda1380.h @@ -19,15 +19,15 @@ #ifndef _UDA1380_H #define _UDA1380_H -extern void uda1380_reset(void); -extern int uda1380_init(void); -extern void uda1380_enable_output(bool enable); -extern int uda1380_set_master_vol(int vol_l, int vol_r); -extern int uda1380_set_mixer_vol(int channel1, int channel2); -extern void uda1380_set_bass(int value); -extern void uda1380_set_treble(int value); -extern int uda1380_mute(int mute); -extern void uda1380_close(void); +extern void audiohw_reset(void); +extern int audiohw_init(void); +extern void audiohw_enable_output(bool enable); +extern int audiohw_set_master_vol(int vol_l, int vol_r); +extern int audiohw_set_mixer_vol(int channel1, int channel2); +extern void audiohw_set_bass(int value); +extern void audiohw_set_treble(int value); +extern int audiohw_mute(int mute); +extern void audiohw_close(void); /** * Sets frequency settings for DAC and ADC relative to MCLK * @@ -38,11 +38,11 @@ extern void uda1380_close(void); * 44100: 2 = 25 to 50 SCLK, LRCK: Audio Clk / 4 (default) * 88200: 3 = 50 to 100 SCLK, LRCK: Audio Clk / 2 */ -extern void uda1380_set_frequency(unsigned fsel); -extern void uda1380_enable_recording(bool source_mic); -extern void uda1380_disable_recording(void); -extern void uda1380_set_recvol(int left, int right, int type); -extern void uda1380_set_monitor(int enable); +extern void audiohw_set_frequency(unsigned fsel); +extern void audiohw_enable_recording(bool source_mic); +extern void audiohw_disable_recording(void); +extern void audiohw_set_recvol(int left, int right, int type); +extern void audiohw_set_monitor(int enable); #define UDA1380_ADDR 0x30 |