removed entry for status bar
[kugel-rb.git] / firmware / mpeg.h
blob48367317dc971a9d74f742e61ee84625c2660fba
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
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 ****************************************************************************/
19 #ifndef _MPEG_H_
20 #define _MPEG_H_
22 #include <stdbool.h>
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);
26 void mpeg_stop(void);
27 void mpeg_pause(void);
28 void mpeg_resume(void);
29 void mpeg_next(void);
30 void mpeg_prev(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
44 #define SOUND_BASS 1
45 #define SOUND_TREBLE 2
46 #define SOUND_BALANCE 3
47 #define SOUND_LOUDNESS 4
48 #define SOUND_SUPERBASS 5
49 #define SOUND_AVC 6
50 #define SOUND_NUMSETTINGS 7
52 #endif