Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Makefile.am: link test/run_decoder with timer.c | Max Kellermann | 2009-12-15 | 1 | -0/+2 |
| | | | | For the fluidsynth plugin. | ||||
* | decoder_internal: decoder_input_buffer() returns bool | Max Kellermann | 2009-12-15 | 1 | -4/+4 |
| | | | | | | This fixes a regression: a boolean value was returned from decoder_input_buffer(), but the caller chose to do a "<= 0" comparison. | ||||
* | input/archive: use g_path_is_absolute() | Max Kellermann | 2009-12-15 | 1 | -1/+1 |
| | | | | | .. instead of manually checking pathname[0]=='/'. g_path_is_absolute() is portable. | ||||
* | archive/bz2: simplified error handling, short read | Max Kellermann | 2009-12-15 | 1 | -34/+23 |
| | | | | | Don't attempt to fill the whole buffer in the read() method, return whatever libbz2 provides with the first successful BZ2_bzDecompress(). | ||||
* | archive/bz2: no CamelCase | Max Kellermann | 2009-12-15 | 1 | -11/+10 |
| | |||||
* | archive/zzip: removed the "zip_context" typedef | Max Kellermann | 2009-12-15 | 1 | -11/+11 |
| | | | | Use the raw struct name. | ||||
* | archive/zip: renamed plugin to "zzip" | Max Kellermann | 2009-12-15 | 5 | -43/+45 |
| | | | | This plugin is based on libzzip. | ||||
* | Merge branch 'v0.15.x' | Max Kellermann | 2009-12-15 | 7 | -45/+85 |
|\ | | | | | | | | | | | | | | | Conflicts: src/archive/bz2_plugin.c src/archive_api.h src/input/file_input_plugin.c test/run_input.c | ||||
| * | iso, zip: fixed memory leak in destructor | Max Kellermann | 2009-12-15 | 3 | -2/+5 |
| | | | | | | | | Free the "context" pointer in the method archive_plugin.close(). | ||||
| * | archive: close archive when stream is closed | Max Kellermann | 2009-12-15 | 5 | -0/+11 |
| | | | | | | | | | | | | | | | | 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. | ||||
| * | archive/bz2: removed NULL check before g_free() | Max Kellermann | 2009-12-15 | 1 | -2/+2 |
| | | | | | | | | g_free(NULL) is allowed. | ||||
| * | input/archive: close the archive file on error | Max Kellermann | 2009-12-15 | 2 | -0/+2 |
| | | | | | | | | Fixed memory leak in error handler. | ||||
| * | test/run_input: deinitialize everything after open() error | Max Kellermann | 2009-12-15 | 1 | -40/+50 |
| | | | | | | | | This enables valgrind debugging after an error occurred. | ||||
| * | test/run_input: initialize archive plugins | Max Kellermann | 2009-12-15 | 1 | -0/+15 |
| | | | | | | | | Enable archive plugin debugging. | ||||
| * | input/file: don't fall back to parent directory | Max Kellermann | 2009-12-15 | 2 | -18/+5 |
| | | | | | | | | | | This code has never made any sense, and has broken some of the archive plugin. | ||||
* | | input/file: don't fall back to parent directory | Max Kellermann | 2009-12-15 | 1 | -18/+3 |
| | | | | | | | | | | This code has never made any sense, and has broken some of the archive plugin. | ||||
* | | archive_api.h: moved struct archive_plugin to archive_plugin.h | Max Kellermann | 2009-12-15 | 5 | -61/+90 |
| | | |||||
* | | archive_list: don't include archive_api.h | Max Kellermann | 2009-12-15 | 2 | -2/+1 |
| | | | | | | | | Use struct forward declarations. | ||||
* | | archive_list: iterate with NULL check | Max Kellermann | 2009-12-15 | 1 | -12/+6 |
| | | | | | | | | Don't use num_archive_plugins. | ||||
* | | archive/bz2: bz2_fillbuffer() returns bool | Max Kellermann | 2009-12-15 | 1 | -5/+6 |
| | | |||||
* | | archive/bz2: fixed indentation | Max Kellermann | 2009-12-15 | 1 | -15/+22 |
| | | |||||
* | | archive/bz2: g_malloc() cannot fail | Max Kellermann | 2009-12-15 | 1 | -4/+2 |
| | | |||||
* | | Makefile.am: distribute AudioCompress/config.h | Max Kellermann | 2009-12-15 | 1 | -0/+1 |
| | | | | | | | | This fixes "make distcheck". | ||||
* | | Makefile.am: install glib_compat.h | Max Kellermann | 2009-12-14 | 1 | -0/+1 |
| | | |||||
* | | fixed several gcc warnings on unused debug variables | Max Kellermann | 2009-12-14 | 3 | -2/+3 |
| | | |||||
* | | decoder/mikmod: fixed gcc uninitialized warning | Max Kellermann | 2009-12-14 | 1 | -2/+1 |
| | | | | | | | | Removed local variable "sample_rate". | ||||
* | | scripts/test.sh: added sndfile/modplug decoder test | Max Kellermann | 2009-12-14 | 1 | -0/+3 |
| | | |||||
* | | input_plugin: method init() returns errors with GError | Max Kellermann | 2009-12-14 | 9 | -15/+79 |
| | | | | | | | | | | Not used by any plugin currently, but this eliminates the g_error() call in input_plugin_config(), so it's worth it. | ||||
* | | input_stream: moved input_stream_global_init() to input_init.c | Max Kellermann | 2009-12-14 | 10 | -62/+117 |
| | | |||||
* | | input_stream: moved plugin list to input_registry.c | Max Kellermann | 2009-12-14 | 4 | -30/+91 |
| | | |||||
* | | input_stream: make input_plugins NULL terminated | Max Kellermann | 2009-12-14 | 1 | -7/+5 |
| | | | | | | | | This is easier to traverse. | ||||
* | | filter: added normalize filter plugin | Max Kellermann | 2009-12-14 | 4 | -0/+127 |
| | | | | | | | | Wrap the AudioCompress library in a filter plugin. | ||||
* | | Fix and use filter_configured_new() | Albin Eldstål-Damlin | 2009-12-14 | 2 | -25/+8 |
| | | |||||
* | | Proper error reporting from filter_config | Albin Eldstål-Damlin | 2009-12-14 | 3 | -21/+45 |
| | | |||||
* | | Fixed memory leak on incorrect route configuration | Albin Eldstål-Damlin | 2009-12-14 | 1 | -0/+4 |
| | | |||||
* | | Split filter_config into its own module | Albin Eldstål-Damlin | 2009-12-14 | 6 | -109/+176 |
| | | |||||
* | | test/run_{decoder,filter}: implemented GLib log callback | Max Kellermann | 2009-12-14 | 2 | -0/+25 |
| | | | | | | | | Log to stderr, not to stdout (which broke PCM output). | ||||
* | | Error reporting, pcm_buffer, performance tweaks | Albin Eldstål-Damlin | 2009-12-14 | 1 | -52/+48 |
| | | |||||
* | | Initial filter chain and filter configuration for outputs. | Albin Eldstål-Damlin | 2009-12-14 | 4 | -0/+118 |
| | | |||||
* | | Initial (statically configured) route filter plugin | Albin Eldstål-Damlin | 2009-12-14 | 4 | -0/+348 |
| | | |||||
* | | Minor documentation fix | Albin Eldstål-Damlin | 2009-12-14 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'v0.15.x' | Max Kellermann | 2009-12-14 | 9 | -17/+53 |
|\| | | | | | | | | | Conflicts: src/decoder/ffmpeg_plugin.c | ||||
| * | decoder/wavpack: don't use the nonstandard "uchar" type | Max Kellermann | 2009-12-11 | 1 | -1/+1 |
| | | | | | | | | Use the signed C99 type int8_t instead. | ||||
| * | mixer: explicitly close all mixers on shutdown | Max Kellermann | 2009-12-08 | 2 | -0/+5 |
| | | | | | | | | | | | | 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. | ||||
| * | mapper: apply filesystem_charset to playlists | Max Kellermann | 2009-12-08 | 5 | -11/+37 |
| | | | | | | | | | | | | | | | | 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. | ||||
| * | command: verify playlist name in the "rm" command | Max Kellermann | 2009-12-08 | 2 | -0/+4 |
| | | | | | | | | Call spl_valid_name() in spl_delete(). | ||||
| * | mapper: fix memory leak when playlist_directory is not set | Max Kellermann | 2009-12-08 | 2 | -2/+3 |
| | | | | | | | | Don't allocate the file name before the playlist_dir==NULL check. | ||||
| * | tag_id3: fix ID3v1 charset conversion | svitoos | 2009-11-30 | 2 | -1/+3 |
| | | | | | | | | | | If we define id3v1_encoding, then the tags are not added to the database. | ||||
| * | ffmpeg: don't try to force stereo | Max Kellermann | 2009-11-30 | 2 | -4/+2 |
| | | | | | | | | | | | | The plugin code tried to force libavcodec to supply stereo samples. That however has never actually worked. By removing this code, we are able to play surround files for the first time. | ||||
* | | decoder_api: prefer stream_tag over decoder_tag | Thomas Jansen | 2009-12-07 | 1 | -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. |