aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_list.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-09-25eliminate g_error() usageThomas Jansen1-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.
2010-04-10Decoder for game music emulation library.Tony Miller1-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
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-11-12include config.h in all sourcesMax Kellermann1-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.
2009-11-09decoder_list: fix decoder_plugin_from_mime_type()Max Kellermann1-1/+1
Copy'n'paste error: call decoder_plugin_supports_mime_type() instead of decoder_plugin_supports_suffix().
2009-11-07decoder_list: moved print_all_decoders() to cmdline.cMax Kellermann1-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.
2009-11-07decoder_list: pass previous plugin pointer to lookup functionsMax Kellermann1-10/+25
Remove the static integer hack, that's not thread safe and sucks.
2009-11-07decoder_list: moved suffix/mime_type checks to decoder_plugin.cMax Kellermann1-4/+4
2009-11-07decoder_list: back to NULL terminated listMax Kellermann1-7/+8
A NULL terminated list is easier to iterate.
2009-11-06utils: renamed stringFoundInStringArray()Max Kellermann1-4/+4
No CamelCase. Use bool instead of int. Make both arguments mandatory.
2009-08-26decoder/mpg123: new decoder plugin based on libmpg123Max Kellermann1-0/+4
Still missing: - seeking - tags - streaming - encodings other than MPG123_ENC_SIGNED_16
2009-07-07decoder/sndfile: new decoder plugin based on libsndfileMax Kellermann1-0/+4
2009-04-06decoder: prefer wildmidi over fluidsynthAvuton Olrich1-4/+4
2009-04-02decoder: Rename all main decoder plugins functions to *decoder_plugin.Avuton Olrich1-8/+8
2009-04-01configure.ac: renamed --enable-mod to --enable-mikmodMax Kellermann1-1/+1
2009-04-01configure.ac: renamed --enable-oggvorbis to --enable-vorbisMax Kellermann1-1/+1
2009-03-13all: Update copyright header.Avuton Olrich1-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.
2009-02-28decoder_list: print decoder list with suffixesMax Kellermann1-21/+10
Print the list of suffixes supported by each decoder, instead of prining a list of all suffixes of all decoders with duplicates.
2009-02-17renamed decoder plugin "mpc" to "mpcdec"Max Kellermann1-2/+2
This plugin is based on "libmpcdec".
2009-02-17renamed decoder plugin "mp4" to "mp4ff"Max Kellermann1-2/+2
This plugin is based on "libmp4ff".
2009-02-16renamed decoder plugin "aac" to "faad"Max Kellermann1-2/+2
A decoder plugin should be named after the library which is used.
2009-02-16renamed decoder plugin "mp3" to "mad"Max Kellermann1-2/+2
A decoder plugin should be named after the library which is used.
2009-02-15decoder_list: added configuration option to disable decoder pluginsMax Kellermann1-0/+4
2009-02-15decoder_list: added configuration block "decoder"Max Kellermann1-1/+29
The "decoder" configuration block may contain the configuration of one decoder plugin.
2009-02-15decoder_plugin: pass struct config_param to init() methodMax Kellermann1-1/+1
Preparing for per-plugin configuration sections in mpd.conf.
2009-02-15decoder_plugin: added inline wrapper functionsMax Kellermann1-3/+5
Increase code readability, always use the wrapper functions instead of calling the plugin method pointers directly.
2009-02-15decoder_api: moved struct decoder_plugin to decoder_plugin.hMax Kellermann1-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.
2009-02-12wildmidi: new decoder plugin for MIDI filesMax Kellermann1-0/+4
2009-02-12fluidsynth: new decoder plugin for MIDI filesMax Kellermann1-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)
2009-02-11sidplay: new decoder plugin for playing C64 SID filesMax Kellermann1-0/+4
2009-01-24renamed the "mod" decoder plugin to "mikmod"Max Kellermann1-2/+2
We have two mod plugins now: modplug and mod. Rename the latter to a more useful name.
2009-01-15flac: no CamelCaseMax Kellermann1-4/+4
Renamed types, functions, variables.
2009-01-14oggvorbis: no CamelCaseMax Kellermann1-2/+2
Renamed functions and variables.
2009-01-08added missing explicit config.h includesMax Kellermann1-0/+1
2008-12-30print supported decoders in --versionViliam Mateicka1-0/+13
2008-12-28decoder: new plugin using modplug libraryViliam Mateicka1-0/+4
2008-12-09utils: moving stringFoundInStringArray() from decoder into utilsViliam Mateicka1-11/+1
2008-11-10flac: enable oggflac with libflacMax Kellermann1-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.
2008-11-04wavpack: no CamelCaseMax Kellermann1-2/+2
Renamed functions and variables.
2008-11-04mp4: no CamelCaseeMax Kellermann1-2/+2
Renamed functions and variables.
2008-11-04ffmpeg: no CamelCaseMax Kellermann1-2/+2
Renamed variables.
2008-11-03configure.ac: separate the "aac" and "mp4" decoder testsMax Kellermann1-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.
2008-11-02decoder: enable decoders even if they have no init() methodMax Kellermann1-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.
2008-11-01decoder: make all decoder_plugin structs constMax Kellermann1-11/+11
All decoder_plugin structs are initialized at compile time, and must never change.
2008-11-01decoder: manage decoder list in a static arrayMax Kellermann1-90/+78
Currently, there is no way to dynamically load decoder plugins, thus we don't need a dynamic list to manage them.
2008-11-01decoder: return const decoder_plugin structsMax Kellermann1-7/+8
The decoder_plugin structs must never change. Don't work with non-const pointers.
2008-10-30decoder: use bool for return values and flagsMax Kellermann1-1/+1
Don't return 0/-1 on success/error, but true/false. Instead of int, use bool for storing flags.
2008-10-17ffmpeg: new decoder pluginViliam Mateicka1-0/+4
[mk: fixed indent, changed copyright statement, added autoconf test, fixed includes paths, fixed 2 gcc warnings, don't close input stream twice]
2008-10-17Makefile.am: don't compile disabled decoder pluginsMax Kellermann1-0/+18
Don't compile the sources of disabled decoder plugins at all, and don't attempt to register these.
2008-09-29decoder: renamed plugin methodsMax Kellermann1-3/+3
Why have a "_func" prefix on all method names? Also don't typedef the methods, there is no advantage in that.