aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/mikmod_plugin.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* decoder_api: added function decoder_replay_gain()Max Kellermann2010-01-041-2/+1
| | | | | | This function replaces the replay_gain_info parameter for decoder_data(). This allows the decoder to announce replay gain changes, instead of having to pass the same object over and over.
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* decoder_api: added function decoder_timestamp()Max Kellermann2009-12-261-5/+0
| | | | | | Remove the data_time parameter from decoder_data(). This patch eliminates the timestamp counting in most decoder plugins, because the MPD core will do it automatically by default.
* decoder/mikmod: fixed gcc uninitialized warningMax Kellermann2009-12-141-2/+1
| | | | Removed local variable "sample_rate".
* audio_format: changed "bits" to "enum sample_format"Max Kellermann2009-12-021-1/+1
| | | | | | This patch prepares support for floating point samples (and probably other formats). It changes the meaning of the "bits" attribute from a bit count to a symbolic value.
* decoder/mikmod: count frame positionMax Kellermann2009-11-141-8/+6
| | | | | Don't maintain the current time stamp in a floating point variable, because this is subject to rounding errors.
* decoder/mikmod: sample rate is configurableMax Kellermann2009-11-141-3/+12
| | | | The new option "sample_rate" sets the sample rate for libmikmod.
* decoder/mikmod: set drv_name and drv_version from PACKAGE/VERSIONMax Kellermann2009-11-141-3/+3
|
* decoder/mikmod: no CamelCaseMax Kellermann2009-11-141-28/+34
|
* decoder/mikmod: removed the struct mod_DataMax Kellermann2009-11-141-14/+9
|
* decoder/mikmod: merged open()/close() into decode()Max Kellermann2009-11-141-31/+12
| | | | These functions are trivial, we don't need them separate.
* decoder/mikmod: static mod_Data objectMax Kellermann2009-11-141-11/+9
| | | | Don't allocate this object, put it on the stack.
* decoder: use audio_format_init_checked()Max Kellermann2009-11-141-0/+2
| | | | | | Let the audio_check library verify the audio format in all (relevant, i.e. non-hardcoded) plugins.
* include config.h in all sourcesMax Kellermann2009-11-121-1/+2
| | | | | | 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.
* tag: removed the "_ITEM_" suffix from the enum namesMax Kellermann2009-10-131-1/+1
|
* Add audio_format_init() functionDavid Woodhouse2009-07-191-3/+1
| | | | | It makes no difference right now, but we're about to add an endianness flag and will want to make sure it's correctly initialised every time.
* all: Update copyright header.Avuton Olrich2009-03-131-7/+8
| | | | | | | | 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.
* decoders: added and fixed GLib log domainsMax Kellermann2009-02-171-1/+4
| | | | | Fixed the log domains of the renamed decoders. Added G_LOG_DOMAIN macros in decoders which don't have one already.
* decoder_plugin: pass struct config_param to init() methodMax Kellermann2009-02-151-1/+2
| | | | Preparing for per-plugin configuration sections in mpd.conf.
* mikmod: call MikMod_Exit() only in the finish() methodMatthias Drochner2009-01-301-6/+0
| | | | | | | | | | | | | | | Hi - independently of libmikmod's other problems - there seems to be a problem in mpd's wrapper: MikMod_Exit() is called after the first file is decoded, which frees some ressources within the mikmod library. An attempt to play a second file leads to a crash. The appended patch fixes this for me. (I don't know what the "dup" entry is good for - someone who knows should review that too.) best regards Matthias [mk: removed 3 more MikMod_Exit() invocations]
* use g_free() instead of free()Max Kellermann2009-01-251-1/+1
| | | | | | On some platforms, g_free() must be used for memory allocated by GLib. This patch intends to correct a lot of occurrences, but is probably not complete.
* renamed the "mod" decoder plugin to "mikmod"Max Kellermann2009-01-241-0/+257
We have two mod plugins now: modplug and mod. Rename the latter to a more useful name.