diff options
Diffstat (limited to 'firmware/mp3_playback.c')
-rw-r--r-- | firmware/mp3_playback.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/firmware/mp3_playback.c b/firmware/mp3_playback.c index 28d14eae64..5d43458445 100644 --- a/firmware/mp3_playback.c +++ b/firmware/mp3_playback.c | |||
@@ -124,7 +124,7 @@ static int maxval[] = | |||
124 | 100, /* Balance */ | 124 | 100, /* Balance */ |
125 | 17, /* Loudness */ | 125 | 17, /* Loudness */ |
126 | 100, /* Bass boost */ | 126 | 100, /* Bass boost */ |
127 | 3, /* AVC */ | 127 | 4, /* AVC */ |
128 | 6, /* Channels */ | 128 | 6, /* Channels */ |
129 | 15, /* Left gain */ | 129 | 15, /* Left gain */ |
130 | 15, /* Right gain */ | 130 | 15, /* Right gain */ |
@@ -673,13 +673,16 @@ void mpeg_sound_set(int setting, int value) | |||
673 | 673 | ||
674 | case SOUND_AVC: | 674 | case SOUND_AVC: |
675 | switch (value) { | 675 | switch (value) { |
676 | case 1: /* 2s */ | 676 | case 1: /* 20ms */ |
677 | tmp = (0x1 << 8) | (0x8 << 12); | ||
678 | break; | ||
679 | case 2: /* 2s */ | ||
677 | tmp = (0x2 << 8) | (0x8 << 12); | 680 | tmp = (0x2 << 8) | (0x8 << 12); |
678 | break; | 681 | break; |
679 | case 2: /* 4s */ | 682 | case 3: /* 4s */ |
680 | tmp = (0x4 << 8) | (0x8 << 12); | 683 | tmp = (0x4 << 8) | (0x8 << 12); |
681 | break; | 684 | break; |
682 | case 3: /* 8s */ | 685 | case 4: /* 8s */ |
683 | tmp = (0x8 << 8) | (0x8 << 12); | 686 | tmp = (0x8 << 8) | (0x8 << 12); |
684 | break; | 687 | break; |
685 | case -1: /* turn off and then turn on again to decay quickly */ | 688 | case -1: /* turn off and then turn on again to decay quickly */ |