From 8cb555460ff79e636a7907fb2589e16db98c8600 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 17 Jul 2020 00:01:32 -0400 Subject: [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 --- firmware/export/mp3_playback.h | 51 ------------------------------------------ 1 file changed, 51 deletions(-) delete mode 100644 firmware/export/mp3_playback.h (limited to 'firmware/export/mp3_playback.h') 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 @@ -/*************************************************************************** - * __________ __ ___. - * Open \______ \ ____ ____ | | _\_ |__ _______ ___ - * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / - * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < - * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ - * \/ \/ \/ \/ \/ - * $Id$ - * - * Code that has been in mpeg.c/h before, now creating an encapsulated play - * data module, to be used by other sources than file playback as well. - * - * Copyright (C) 2004 by Linus Nielsen Feltzing - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY - * KIND, either express or implied. - * - ****************************************************************************/ -#ifndef _MP3_PLAYBACK_H_ -#define _MP3_PLAYBACK_H_ - -#include - -/* callback fn */ -#ifndef MP3_PLAY_CALLBACK_DEFINED -#define MP3_PLAY_CALLBACK_DEFINED -typedef void (*mp3_play_callback_t)(const void **start, size_t* size); -#endif - -/* functions formerly in mpeg.c */ -void mp3_init(int volume, int bass, int treble, int balance, int loudness, - int avc, int channel_config, int stereo_width, - int mdb_strength, int mdb_harmonics, - int mdb_center, int mdb_shape, bool mdb_enable, - bool superbass); - -void mp3_play_data(const void* start, size_t size, - mp3_play_callback_t get_more); -void mp3_play_pause(bool play); -bool mp3_pause_done(void); -void mp3_play_stop(void); -bool mp3_is_playing(void); -unsigned char* mp3_get_pos(void); -void mp3_shutdown(void); - -#endif /* #ifndef _MP3_PLAYBACK_H_ */ -- cgit v1.2.3