From 06971be8cd75234e76adab165e8c28275b2ab080 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Wed, 13 Feb 2008 11:19:23 +0000 Subject: Return value of audiohw_set_xxx_vol is never used and most of the time we have a return 0; --> kick it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16300 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/as3514.h | 4 ++-- firmware/export/uda1380.h | 4 ++-- firmware/export/wm8721.h | 2 +- firmware/export/wm8731.h | 2 +- firmware/export/wm8751.h | 4 ++-- firmware/export/wm8758.h | 6 +++--- firmware/export/wm8975.h | 4 ++-- firmware/export/wm8985.h | 4 ++-- 8 files changed, 15 insertions(+), 15 deletions(-) (limited to 'firmware/export') diff --git a/firmware/export/as3514.h b/firmware/export/as3514.h index 8bcc1f2bc1..999563d33c 100644 --- a/firmware/export/as3514.h +++ b/firmware/export/as3514.h @@ -24,8 +24,8 @@ extern int tenthdb2master(int db); -extern int audiohw_set_master_vol(int vol_l, int vol_r); -extern int audiohw_set_lineout_vol(int vol_l, int vol_r); +extern void audiohw_set_master_vol(int vol_l, int vol_r); +extern void audiohw_set_lineout_vol(int vol_l, int vol_r); extern void audiohw_set_sample_rate(int sampling_control); /* Register Descriptions */ diff --git a/firmware/export/uda1380.h b/firmware/export/uda1380.h index db93e75371..cd27536e87 100644 --- a/firmware/export/uda1380.h +++ b/firmware/export/uda1380.h @@ -27,8 +27,8 @@ extern int tenthdb2master(int db); extern int tenthdb2mixer(int db); -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_master_vol(int vol_l, int vol_r); +extern void audiohw_set_mixer_vol(int channel1, int channel2); extern void audiohw_set_bass(int value); extern void audiohw_set_treble(int value); diff --git a/firmware/export/wm8721.h b/firmware/export/wm8721.h index a1909fdecb..99c3bee9b8 100644 --- a/firmware/export/wm8721.h +++ b/firmware/export/wm8721.h @@ -27,7 +27,7 @@ extern int tenthdb2master(int db); extern int tenthdb2mixer(int db); -extern int audiohw_set_master_vol(int vol_l, int vol_r); +extern void 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); diff --git a/firmware/export/wm8731.h b/firmware/export/wm8731.h index 701aab5d87..009088960f 100644 --- a/firmware/export/wm8731.h +++ b/firmware/export/wm8731.h @@ -28,7 +28,7 @@ extern int tenthdb2master(int db); extern int tenthdb2mixer(int db); extern void audiohw_preinit(void); -extern int audiohw_set_master_vol(int vol_l, int vol_r); +extern void 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); diff --git a/firmware/export/wm8751.h b/firmware/export/wm8751.h index f74adb5944..910529e84b 100644 --- a/firmware/export/wm8751.h +++ b/firmware/export/wm8751.h @@ -26,8 +26,8 @@ extern int tenthdb2master(int db); extern void audiohw_preinit(void); -extern int audiohw_set_master_vol(int vol_l, int vol_r); -extern int audiohw_set_lineout_vol(int vol_l, int vol_r); +extern void audiohw_set_master_vol(int vol_l, int vol_r); +extern void audiohw_set_lineout_vol(int vol_l, int vol_r); extern void audiohw_set_bass(int value); extern void audiohw_set_treble(int value); extern void audiohw_set_frequency(int fsel); diff --git a/firmware/export/wm8758.h b/firmware/export/wm8758.h index b8904c1657..61db094684 100644 --- a/firmware/export/wm8758.h +++ b/firmware/export/wm8758.h @@ -27,9 +27,9 @@ extern int tenthdb2master(int db); extern int tenthdb2mixer(int db); -extern int audiohw_set_master_vol(int vol_l, int vol_r); -extern int audiohw_set_lineout_vol(int vol_l, int vol_r); -extern int audiohw_set_mixer_vol(int channel1, int channel2); +extern void audiohw_set_master_vol(int vol_l, int vol_r); +extern void audiohw_set_lineout_vol(int vol_l, int vol_r); +extern void audiohw_set_mixer_vol(int channel1, int channel2); extern void audiohw_set_bass(int value); extern void audiohw_set_bass_cutoff(int value); extern void audiohw_set_treble(int value); diff --git a/firmware/export/wm8975.h b/firmware/export/wm8975.h index 07a62d1ce7..1ae82061ee 100644 --- a/firmware/export/wm8975.h +++ b/firmware/export/wm8975.h @@ -26,8 +26,8 @@ extern int tenthdb2master(int db); -extern int audiohw_set_master_vol(int vol_l, int vol_r); -extern int audiohw_set_lineout_vol(int vol_l, int vol_r); +extern void audiohw_set_master_vol(int vol_l, int vol_r); +extern void audiohw_set_lineout_vol(int vol_l, int vol_r); extern void audiohw_set_bass(int value); extern void audiohw_set_treble(int value); extern void audiohw_set_nsorder(int order); diff --git a/firmware/export/wm8985.h b/firmware/export/wm8985.h index 994d9ba366..a12d7cda57 100644 --- a/firmware/export/wm8985.h +++ b/firmware/export/wm8985.h @@ -26,8 +26,8 @@ extern int tenthdb2master(int db); -extern int audiohw_set_master_vol(int vol_l, int vol_r); -extern int audiohw_set_lineout_vol(int vol_l, int vol_r); +extern void audiohw_set_master_vol(int vol_l, int vol_r); +extern void audiohw_set_lineout_vol(int vol_l, int vol_r); extern void audiohw_set_bass(int value); extern void audiohw_set_treble(int value); extern void audiohw_set_nsorder(int order); -- cgit v1.2.3