summaryrefslogtreecommitdiff
path: root/firmware/mpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r--firmware/mpeg.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index 31e50caed3..8523e7f337 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -27,7 +27,6 @@
27#include "thread.h" 27#include "thread.h"
28#include "panic.h" 28#include "panic.h"
29#include "file.h" 29#include "file.h"
30#include "settings.h"
31#include "id3.h" 30#include "id3.h"
32 31
33#define MPEG_STACK_SIZE 0x2000 32#define MPEG_STACK_SIZE 0x2000
@@ -672,7 +671,7 @@ void mpeg_treble(int percent)
672#endif 671#endif
673} 672}
674 673
675void mpeg_init(void) 674void mpeg_init(int volume, int bass, int treble)
676{ 675{
677#ifdef ARCHOS_RECORDER 676#ifdef ARCHOS_RECORDER
678 int rc; 677 int rc;
@@ -737,8 +736,7 @@ void mpeg_init(void)
737 dac_config(0x04); /* DAC on, all else off */ 736 dac_config(0x04); /* DAC on, all else off */
738#endif 737#endif
739 738
740 mpeg_bass(DEFAULT_BASS_SETTING); 739 mpeg_bass(bass);
741 mpeg_treble(DEFAULT_TREBLE_SETTING); 740 mpeg_treble(treble);
742 mpeg_volume(DEFAULT_VOLUME_SETTING); 741 mpeg_volume(volume);
743
744} 742}