1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2002 by Linus Nielsen Feltzing
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
24 void mpeg_init(int volume
, int bass
, int treble
, int balance
, int loudness
, int bass_boost
, int avc
);
25 void mpeg_play(char* trackname
);
27 void mpeg_pause(void);
28 void mpeg_resume(void);
31 void mpeg_ff_rewind(int change
);
32 bool mpeg_is_playing(void);
33 void mpeg_sound_set(int setting
, int value
);
34 int mpeg_sound_min(int setting
);
35 int mpeg_sound_max(int setting
);
36 int mpeg_sound_default(int setting
);
37 int mpeg_val2phys(int setting
, int value
);
38 char *mpeg_sound_unit(int setting
);
39 int mpeg_sound_numdecimals(int setting
);
40 struct mp3entry
* mpeg_current_track(void);
41 bool mpeg_has_changed_track(void);
43 #define SOUND_VOLUME 0
45 #define SOUND_TREBLE 2
46 #define SOUND_BALANCE 3
47 #define SOUND_LOUDNESS 4
48 #define SOUND_SUPERBASS 5
50 #define SOUND_NUMSETTINGS 7