aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_list.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* copyright year 2011Max Kellermann2011-01-291-1/+1
|
* decoder: new "pcm" decoder pluginMax Kellermann2010-12-221-0/+2
| | | | Just there to support the "cdio_paranoia" input plugin.
* eliminate g_error() usageThomas Jansen2010-09-251-2/+3
| | | | | | | | | | | | | | Replaced all occurrences of g_error() with MPD_ERROR() located in a new header file 'mpd_error.h'. This macro uses g_critical() to print the error message and then exits gracefully in contrast to g_error() which would internally call abort() to produce a core dump. The macro name is distinctive and allows to find all places with dubious error handling. The long-term goal is to get rid of MPD_ERROR() altogether. To facilitate the eventual removal of this macro it was added in a new header file rather than to an existing header file. This fixes #2995 and #3007.
* Decoder for game music emulation library.Tony Miller2010-04-101-0/+4
| | | | | | | | Supports a number of videogame music formats, more info here: http://www.fly.net/~ant/libs/audio.html I wrote this plugin for the latest svn, get it here: http://code.google.com/p/game-music-emu/source/checkout
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* include config.h in all sourcesMax Kellermann2009-11-121-1/+1
| | | | | | After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
* decoder_list: fix decoder_plugin_from_mime_type()Max Kellermann2009-11-091-1/+1
| | | | | Copy'n'paste error: call decoder_plugin_supports_mime_type() instead of decoder_plugin_supports_suffix().
* decoder_list: moved print_all_decoders() to cmdline.cMax Kellermann2009-11-071-23/+2
| | | | | | Export the decoder_plugins array. The function decoder_plugin_print_all_decoders() it is UI specific and should not live in this backend library.
* decoder_list: pass previous plugin pointer to lookup functionsMax Kellermann2009-11-071-10/+25
| | | | Remove the static integer hack, that's not thread safe and sucks.
* decoder_list: moved suffix/mime_type checks to decoder_plugin.cMax Kellermann2009-11-071-4/+4
|
* decoder_list: back to NULL terminated listMax Kellermann2009-11-071-7/+8
| | | | A NULL terminated list is easier to iterate.
* utils: renamed stringFoundInStringArray()Max Kellermann2009-11-061-4/+4
| | | | | No CamelCase. Use bool instead of int. Make both arguments mandatory.
* decoder/mpg123: new decoder plugin based on libmpg123Max Kellermann2009-08-261-0/+4
| | | | | | | | Still missing: - seeking - tags - streaming - encodings other than MPG123_ENC_SIGNED_16
* decoder/sndfile: new decoder plugin based on libsndfileMax Kellermann2009-07-071-0/+4
|
* decoder: prefer wildmidi over fluidsynthAvuton Olrich2009-04-061-4/+4
|
* decoder: Rename all main decoder plugins functions to *decoder_plugin.Avuton Olrich2009-04-021-8/+8
|
* configure.ac: renamed --enable-mod to --enable-mikmodMax Kellermann2009-04-011-1/+1
|
* configure.ac: renamed --enable-oggvorbis to --enable-vorbisMax Kellermann2009-04-011-1/+1
|
* all: Update copyright header.Avuton Olrich2009-03-131-6/+7
| | | | | | | | This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
* decoder_list: print decoder list with suffixesMax Kellermann2009-02-281-21/+10
| | | | | Print the list of suffixes supported by each decoder, instead of prining a list of all suffixes of all decoders with duplicates.
* renamed decoder plugin "mpc" to "mpcdec"Max Kellermann2009-02-171-2/+2
| | | | This plugin is based on "libmpcdec".
* renamed decoder plugin "mp4" to "mp4ff"Max Kellermann2009-02-171-2/+2
| | | | This plugin is based on "libmp4ff".
* renamed decoder plugin "aac" to "faad"Max Kellermann2009-02-161-2/+2
| | | | A decoder plugin should be named after the library which is used.
* renamed decoder plugin "mp3" to "mad"Max Kellermann2009-02-161-2/+2
| | | | A decoder plugin should be named after the library which is used.
* decoder_list: added configuration option to disable decoder pluginsMax Kellermann2009-02-151-0/+4
|
* decoder_list: added configuration block "decoder"Max Kellermann2009-02-151-1/+29
| | | | | The "decoder" configuration block may contain the configuration of one decoder plugin.
* decoder_plugin: pass struct config_param to init() methodMax Kellermann2009-02-151-1/+1
| | | | Preparing for per-plugin configuration sections in mpd.conf.
* decoder_plugin: added inline wrapper functionsMax Kellermann2009-02-151-3/+5
| | | | | Increase code readability, always use the wrapper functions instead of calling the plugin method pointers directly.
* decoder_api: moved struct decoder_plugin to decoder_plugin.hMax Kellermann2009-02-151-1/+3
| | | | | | The decoder_plugin struct is used by both the MPD core and the decoder plugin implementations. Move it to a shared header file, to minimize header dependencies.
* wildmidi: new decoder plugin for MIDI filesMax Kellermann2009-02-121-0/+4
|
* fluidsynth: new decoder plugin for MIDI filesMax Kellermann2009-02-121-0/+4
| | | | | | | | | | | | | | There are a few problems left in this plugin: - fluidsynth decodes in real time, while MPD prefers to buffer as quickly as possible; as a workaround, this plugin uses a timer object to synchronize with real-time playback - I don't know yet how fluidsynth tells me when the song has ended - the "soundfont" configuration setting is not yet documented, and it will likely change soon (in favor of a per-decoder configuration block)
* sidplay: new decoder plugin for playing C64 SID filesMax Kellermann2009-02-111-0/+4
|
* renamed the "mod" decoder plugin to "mikmod"Max Kellermann2009-01-241-2/+2
| | | | | We have two mod plugins now: modplug and mod. Rename the latter to a more useful name.
* flac: no CamelCaseMax Kellermann2009-01-151-4/+4
| | | | Renamed types, functions, variables.
* oggvorbis: no CamelCaseMax Kellermann2009-01-141-2/+2
| | | | Renamed functions and variables.
* added missing explicit config.h includesMax Kellermann2009-01-081-0/+1
|
* print supported decoders in --versionViliam Mateicka2008-12-301-0/+13
|
* decoder: new plugin using modplug libraryViliam Mateicka2008-12-281-0/+4
|
* utils: moving stringFoundInStringArray() from decoder into utilsViliam Mateicka2008-12-091-11/+1
|
* flac: enable oggflac with libflacMax Kellermann2008-11-101-1/+1
| | | | | | | The "oggflac" plugin was enabled only if HAVE_FLAC_COMMON was defined. HAVE_FLAC_COMMON however is only an automake variable, and is never available in decoder_list.c. Make decoder_list.c depend on HAVE_FLAC||HAVE_OGGFLAC instead.
* wavpack: no CamelCaseMax Kellermann2008-11-041-2/+2
| | | | Renamed functions and variables.
* mp4: no CamelCaseeMax Kellermann2008-11-041-2/+2
| | | | Renamed functions and variables.
* ffmpeg: no CamelCaseMax Kellermann2008-11-041-2/+2
| | | | Renamed variables.
* configure.ac: separate the "aac" and "mp4" decoder testsMax Kellermann2008-11-031-1/+3
| | | | | | | MPD used to have a copy of the mp4ff library. Since that has been removed, AAC suport was disabled when there was no libmp4ff. Separate the libmp4ff test, and enable AAC support no matter if libmp4ff is available.
* decoder: enable decoders even if they have no init() methodMax Kellermann2008-11-021-1/+1
| | | | | | Commit 1a4a3e1f moved decoders into a static array, but failed to enable those plugins who did not have an init() method at all. This patch corrects the "enabled" check.
* decoder: make all decoder_plugin structs constMax Kellermann2008-11-011-11/+11
| | | | | All decoder_plugin structs are initialized at compile time, and must never change.
* decoder: manage decoder list in a static arrayMax Kellermann2008-11-011-90/+78
| | | | | Currently, there is no way to dynamically load decoder plugins, thus we don't need a dynamic list to manage them.
* decoder: return const decoder_plugin structsMax Kellermann2008-11-011-7/+8
| | | | | The decoder_plugin structs must never change. Don't work with non-const pointers.
* decoder: use bool for return values and flagsMax Kellermann2008-10-301-1/+1
| | | | | Don't return 0/-1 on success/error, but true/false. Instead of int, use bool for storing flags.
* ffmpeg: new decoder pluginViliam Mateicka2008-10-171-0/+4
| | | | | | [mk: fixed indent, changed copyright statement, added autoconf test, fixed includes paths, fixed 2 gcc warnings, don't close input stream twice]