diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-17 00:01:32 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 8cb555460ff79e636a7907fb2589e16db98c8600 (patch) | |
tree | 930a3878c7641c9ce045b24f0ade1309e36d5806 /firmware/export/mp3_playback.h | |
parent | 0c4f89370d05056faa789aa9cabcccc4e509fb9f (diff) | |
download | rockbox-8cb555460ff79e636a7907fb2589e16db98c8600.tar.gz rockbox-8cb555460ff79e636a7907fb2589e16db98c8600.zip |
[3/4] Completely remove HWCODEC support
'swcodec' is now always set (and recording_swcodec for recording-capable
units) in feature.txt so the manual and language strings don't need to
all be fixed up.
Change-Id: Ib2c9d5d157af8d33653e2d4b4a12881b9aa6ddb0
Diffstat (limited to 'firmware/export/mp3_playback.h')
-rw-r--r-- | firmware/export/mp3_playback.h | 51 |
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 | ||
32 | typedef void (*mp3_play_callback_t)(const void **start, size_t* size); | ||
33 | #endif | ||
34 | |||
35 | /* functions formerly in mpeg.c */ | ||
36 | void 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 | |||
42 | void mp3_play_data(const void* start, size_t size, | ||
43 | mp3_play_callback_t get_more); | ||
44 | void mp3_play_pause(bool play); | ||
45 | bool mp3_pause_done(void); | ||
46 | void mp3_play_stop(void); | ||
47 | bool mp3_is_playing(void); | ||
48 | unsigned char* mp3_get_pos(void); | ||
49 | void mp3_shutdown(void); | ||
50 | |||
51 | #endif /* #ifndef _MP3_PLAYBACK_H_ */ | ||