aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-12-15input_stream: return errors with GErrorMax Kellermann32-160/+378
2009-12-15encoder/flac: fix write callback prototype for libFLAC 1.1.2Max Kellermann1-1/+7
2009-12-15decoder_internal: decoder_input_buffer() returns boolMax Kellermann1-4/+4
This fixes a regression: a boolean value was returned from decoder_input_buffer(), but the caller chose to do a "<= 0" comparison.
2009-12-15input/archive: use g_path_is_absolute()Max Kellermann1-1/+1
.. instead of manually checking pathname[0]=='/'. g_path_is_absolute() is portable.
2009-12-15archive/bz2: simplified error handling, short readMax Kellermann1-34/+23
Don't attempt to fill the whole buffer in the read() method, return whatever libbz2 provides with the first successful BZ2_bzDecompress().
2009-12-15archive/bz2: no CamelCaseMax Kellermann1-11/+10
2009-12-15archive/zzip: removed the "zip_context" typedefMax Kellermann1-11/+11
Use the raw struct name.
2009-12-15archive/zip: renamed plugin to "zzip"Max Kellermann2-31/+31
This plugin is based on libzzip.
2009-12-15iso, zip: fixed memory leak in destructorMax Kellermann2-2/+4
Free the "context" pointer in the method archive_plugin.close().
2009-12-15archive: close archive when stream is closedMax Kellermann4-0/+9
Fixes a memory leak: the "archive" input plugin opens the archive, but never closes it. This patch moves the responsibility for doing that to archive_plugin.open_stream(). This is an slight internal API change, but it is the simplest and least intrusive fix for the memory leak.
2009-12-15archive/bz2: removed NULL check before g_free()Max Kellermann1-2/+2
g_free(NULL) is allowed.
2009-12-15input/archive: close the archive file on errorMax Kellermann1-0/+1
Fixed memory leak in error handler.
2009-12-15input/file: don't fall back to parent directoryMax Kellermann1-18/+3
This code has never made any sense, and has broken some of the archive plugin.
2009-12-15input/file: don't fall back to parent directoryMax Kellermann1-18/+3
This code has never made any sense, and has broken some of the archive plugin.
2009-12-15archive_api.h: moved struct archive_plugin to archive_plugin.hMax Kellermann4-61/+89
2009-12-15archive_list: don't include archive_api.hMax Kellermann2-2/+1
Use struct forward declarations.
2009-12-15archive_list: iterate with NULL checkMax Kellermann1-12/+6
Don't use num_archive_plugins.
2009-12-15archive/bz2: bz2_fillbuffer() returns boolMax Kellermann1-5/+6
2009-12-15archive/bz2: fixed indentationMax Kellermann1-15/+22
2009-12-15archive/bz2: g_malloc() cannot failMax Kellermann1-4/+2
2009-12-14fixed several gcc warnings on unused debug variablesMax Kellermann3-2/+3
2009-12-14decoder/mikmod: fixed gcc uninitialized warningMax Kellermann1-2/+1
Removed local variable "sample_rate".
2009-12-14input_plugin: method init() returns errors with GErrorMax Kellermann5-11/+52
Not used by any plugin currently, but this eliminates the g_error() call in input_plugin_config(), so it's worth it.
2009-12-14input_stream: moved input_stream_global_init() to input_init.cMax Kellermann5-62/+111
2009-12-14input_stream: moved plugin list to input_registry.cMax Kellermann3-30/+89
2009-12-14input_stream: make input_plugins NULL terminatedMax Kellermann1-7/+5
This is easier to traverse.
2009-12-14filter: added normalize filter pluginMax Kellermann3-0/+125
Wrap the AudioCompress library in a filter plugin.
2009-12-14Fix and use filter_configured_new()Albin Eldstål-Damlin2-25/+8
2009-12-14Proper error reporting from filter_configAlbin Eldstål-Damlin3-21/+45
2009-12-14Fixed memory leak on incorrect route configurationAlbin Eldstål-Damlin1-0/+4
2009-12-14Split filter_config into its own moduleAlbin Eldstål-Damlin5-109/+173
2009-12-14Error reporting, pcm_buffer, performance tweaksAlbin Eldstål-Damlin1-52/+48
2009-12-14Initial filter chain and filter configuration for outputs.Albin Eldstål-Damlin4-0/+118
2009-12-14Initial (statically configured) route filter pluginAlbin Eldstål-Damlin3-0/+347
2009-12-14Minor documentation fixAlbin Eldstål-Damlin1-2/+2
2009-12-11decoder/wavpack: don't use the nonstandard "uchar" typeMax Kellermann1-1/+1
Use the signed C99 type int8_t instead.
2009-12-08mixer: explicitly close all mixers on shutdownMax Kellermann1-0/+4
Mixers with the "global" flag set aren't closed automatically when the output device is closed. Thus, they might still be open when MPD shuts down.
2009-12-08mapper: apply filesystem_charset to playlistsMax Kellermann4-11/+36
This fixes an inconsistency in the stored playlist subsystem: when obtaining the list of playlists (listplaylist, listplaylistinfo), the file names in the playlist directory are converted to UTF-8 (according to filesystem_charset), but when saving or loading playlists, the filesystem_charset setting was ignored.
2009-12-08command: verify playlist name in the "rm" commandMax Kellermann1-0/+3
Call spl_valid_name() in spl_delete().
2009-12-08mapper: fix memory leak when playlist_directory is not setMax Kellermann1-2/+2
Don't allocate the file name before the playlist_dir==NULL check.
2009-12-07decoder_api: prefer stream_tag over decoder_tagThomas Jansen1-2/+2
If both tags (stream and decoder) are present, we prefer the stream tag. Fixes #2698, where ICY tag contained useful information, but was overwritten with bogus decoder tag data.
2009-12-03pcm_volume: change old code to use format instead of bitsViliam Mateicka1-1/+1
2009-12-03encoders: remove unnessesary pointers to const stringsViliam Mateicka5-15/+5
2009-12-03httpd: use get_mime_type to determine encoder contentViliam Mateicka1-7/+6
2009-12-03encoders: implement new get_mime_types methodViliam Mateicka5-0/+45
2009-12-03encoder: add get_mime_type() method to determine content type by httpd ↵Viliam Mateicka1-0/+17
output plugin
2009-12-03pcm_mix: change old code to use format instead of bitsViliam Mateicka1-1/+1
2009-12-03null_encoder: use pcm_bufferViliam Mateicka1-10/+18
2009-12-03flac_encoder: add support for libFLAC < 1.1.3Viliam Mateicka1-18/+47
2009-12-02compress: add config.hJeffrey Middleton1-0/+19
This includes some default values of #defined constants used in the code; it won't compile without it.