summaryrefslogtreecommitdiff
path: root/firmware/export/mp3_playback.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/mp3_playback.h')
-rw-r--r--firmware/export/mp3_playback.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/firmware/export/mp3_playback.h b/firmware/export/mp3_playback.h
deleted file mode 100644
index 51efb45651..0000000000
--- a/firmware/export/mp3_playback.h
+++ /dev/null
@@ -1,51 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Code that has been in mpeg.c/h before, now creating an encapsulated play
11 * data module, to be used by other sources than file playback as well.
12 *
13 * Copyright (C) 2004 by Linus Nielsen Feltzing
14 *
15 * This program is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU General Public License
17 * as published by the Free Software Foundation; either version 2
18 * of the License, or (at your option) any later version.
19 *
20 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21 * KIND, either express or implied.
22 *
23 ****************************************************************************/
24#ifndef _MP3_PLAYBACK_H_
25#define _MP3_PLAYBACK_H_
26
27#include <stdbool.h>
28
29/* callback fn */
30#ifndef MP3_PLAY_CALLBACK_DEFINED
31#define MP3_PLAY_CALLBACK_DEFINED
32typedef void (*mp3_play_callback_t)(const void **start, size_t* size);
33#endif
34
35/* functions formerly in mpeg.c */
36void mp3_init(int volume, int bass, int treble, int balance, int loudness,
37 int avc, int channel_config, int stereo_width,
38 int mdb_strength, int mdb_harmonics,
39 int mdb_center, int mdb_shape, bool mdb_enable,
40 bool superbass);
41
42void mp3_play_data(const void* start, size_t size,
43 mp3_play_callback_t get_more);
44void mp3_play_pause(bool play);
45bool mp3_pause_done(void);
46void mp3_play_stop(void);
47bool mp3_is_playing(void);
48unsigned char* mp3_get_pos(void);
49void mp3_shutdown(void);
50
51#endif /* #ifndef _MP3_PLAYBACK_H_ */