Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2011-01-07 | output/osx: fix up audio format first, then apply it to device | Max Kellermann | 1 | -9/+10 | |
This is a MPD 0.16 regression: when playing a 24 bit file, the switch to 16 bit was made only partially, after mBytesPerPacket and mBytesPerFrame had already been applied. That means mBytesPerFrame referred to 24 bit, and mBitsPerChannel referred to 16 bits. Of course, that cannot work. | |||||
2010-12-21 | add void casts to suppress "result unused" warnings (clang) | Max Kellermann | 2 | -3/+3 | |
2010-12-21 | decoder/mad: work around build failure on Solaris | Alex Viskovatoff | 1 | -2/+2 | |
Rename the "version" struct, because it seems to be a reserved name on Solaris: "src/decoder/mad_decoder_plugin.c", line 550: (enum) tag redeclared: version cc: acomp failed for src/decoder/mad_decoder_plugin.c | |||||
2010-12-21 | output/solaris: add missing parameter to open_cloexec() call | Alex Viskovatoff | 1 | -1/+1 | |
2010-12-21 | audio_check: fix parameter in prototype | Alex Viskovatoff | 1 | -1/+1 | |
2010-12-07 | tag_id3: support multiple values | Max Kellermann | 1 | -10/+36 | |
Loop over all frames with a specific id, and import all of them - not just the first one (index 0). | |||||
2010-12-07 | command: don't error when sticker list is run on song with no stickers | Anton Khirnov | 1 | -7/+3 | |
this is inconsistent with other commands (e.g. find) and seems wrong -- a song with no stickers attached is a perfectly valid state and an empty list of stickers is also perfectly valid. | |||||
2010-11-24 | tag_ape: support multiple values | Max Kellermann | 1 | -1/+15 | |
One APE tag may contain more than one value, separated by null bytes. | |||||
2010-11-18 | decoder_thread: load APE replay gain from music files | Max Kellermann | 1 | -0/+15 | |
2010-11-18 | replay_gain_ape: parse replay gain from APE tags | Max Kellermann | 2 | -0/+110 | |
Based on the APE reader. | |||||
2010-11-18 | tag_ape: move code to ape.c | Max Kellermann | 3 | -93/+174 | |
Generic library for scanning APE tags. Eliminated one "goto"! | |||||
2010-11-18 | timer: fix integer overflow in timer_delay() | Max Kellermann | 1 | -1/+1 | |
Fixes a regression: for output_plugin.delay(), we added a method to the timer class which returns the delay in milliseconds. This fails to detect negative values, because the unsigned integer is divided by 1000, and then casted to signed. | |||||
2010-11-08 | playlist_song: calculate duration of last CUE track | Max Kellermann | 1 | -0/+8 | |
2010-11-08 | output/shout: artist comes first in stream title | Max Kellermann | 1 | -1/+1 | |
After popular demand, I've switched the order of "artist" and "title" in the stream title. There is no standard, and there is no reliable way to parse those from the stream title. | |||||
2010-11-08 | update_walk: explicitly check for permission problems | Max Kellermann | 1 | -0/+33 | |
Call access() and print an extra error message when EACCES is returned. Hopefully this will reduce the number of support requests due to wrong file permissions. | |||||
2010-11-08 | input/rewind: fix assertion failure | Max Kellermann | 1 | -1/+1 | |
The assertion added in MPD 0.15.14 was too much, it failed when the MIME type of a stream was NULL. | |||||
2010-11-05 | player_thread: fix assertion failure due to wrong music pipe on seek | Max Kellermann | 1 | -0/+8 | |
When one song is played twice, and the decoder is working on the second "instance", but the first should be seeked, the check in player_seek_decoder() may assume that it can reuse the decoder without exchanging pipes. The last thing was the mistake: the pipe pointer was different, which led to an assertion failure. This patch adds another check which exchanges the player pipe. | |||||
2010-11-05 | decoder_control: pass music_pipe to dc_start() | Max Kellermann | 3 | -12/+18 | |
More abstraction for decoder_control.pipe. | |||||
2010-11-05 | player_thread: add helper function player_dc_at_next_song() | Max Kellermann | 1 | -6/+33 | |
Some abstraction for decoder_control.pipe access. | |||||
2010-11-05 | pipe: add helper function music_pipe_empty() | Max Kellermann | 3 | -4/+10 | |
2010-11-05 | input/rewind: remove redundant NULL check before g_free() call | Max Kellermann | 1 | -2/+1 | |
2010-11-05 | input/rewind: add two assertions | Max Kellermann | 1 | -0/+3 | |
2010-11-05 | input/rewind: fix double free bug | Max Kellermann | 1 | -0/+1 | |
Duplicate the "mime" attribute of the inner input_stream object, instead of copying the pointer. | |||||
2010-11-05 | output/alsa: dump buffer and period limits | Max Kellermann | 1 | -0/+20 | |
2010-11-05 | output/httpd: implement delay() | Max Kellermann | 1 | -2/+11 | |
2010-11-05 | output/shout: implement delay() | Max Kellermann | 1 | -8/+13 | |
This makes the plugin more responsive to control commands, because it will listen to control events while waiting. | |||||
2010-11-05 | output_plugin: add method delay() | Max Kellermann | 3 | -3/+51 | |
This method is used to reduce the delay of commands issued to the shout plugin. | |||||
2010-11-05 | timer: add function timer_delay() | Max Kellermann | 2 | -0/+19 | |
2010-11-05 | decoder/{mp4ff,ffmpeg}: add extension ".m4b" (audio book) | Max Kellermann | 2 | -2/+10 | |
Same as ".m4a". | |||||
2010-11-04 | output_thread: fix assertion failure due to race condition in OPEN | Max Kellermann | 1 | -1/+9 | |
Change the assertion on "fail_timer==NULL" in OPEN to a runtime check. This assertion crashed when the output thread failed while the player thread was calling audio_output_open(). | |||||
2010-11-04 | output_internal: protect attribute "fail_timer" with mutex | Max Kellermann | 2 | -1/+7 | |
2010-11-04 | output_control: lock object in audio_output_open() | Max Kellermann | 1 | -6/+19 | |
Protect the attributes "open" and "fail_timer". | |||||
2010-11-04 | output_control: lock object in audio_output_close() | Max Kellermann | 1 | -2/+28 | |
Protect the attributes "open" and "fail_timer". | |||||
2010-11-04 | server_socket: remove AI_ADDRCONFIG | Mantas Mikulenas | 1 | -3/+0 | |
When you pass the flag AI_ADDRCONFIG to getaddrinfo(), it does not consider address families on the loopback device. When run on a machine without an external network card, just with "lo", it was unable to look up any address. | |||||
2010-11-04 | output/ffado: transfer_playback_buffers() returns a boolean | Max Kellermann | 1 | -1/+4 | |
libffado documentation says this function returns -1 on error, but that is a lie - it returns a boolean value, and "false" means error. | |||||
2010-11-04 | decoder/ffmpeg: check AVCodecContext.sample_fmt value | Max Kellermann | 1 | -7/+9 | |
.. instead of av_get_bits_per_sample_format(). The SampleFormat enum value is authoritative. | |||||
2010-11-04 | winmm_output: handle empty string case when parsing device id | Denis Krjuchkov | 1 | -1/+1 | |
2010-11-04 | winmm_output: added "device" configuration option | Denis Krjuchkov | 1 | -2/+35 | |
Device can be specified either by magic index (starting with 0) or by device name. | |||||
2010-11-03 | winmm_output: improved test_default_device | Denis Krjuchkov | 1 | -2/+1 | |
If no device is available test_default_device returns false. | |||||
2010-10-27 | output: new output plugin "ffado" | Max Kellermann | 2 | -0/+348 | |
Using libffado, to play on firewire audio devices. Warning: this plugin was not tested successfully. I just couldn't keep libffado2 from crashing. Use at your own risk. For details, see my Debian bug reports: http://bugs.debian.org/601657 http://bugs.debian.org/601659 | |||||
2010-10-27 | decoder/sidplay: play mus, str, prg, x00 files | Alder Hornbridge | 1 | -0/+4 | |
2010-10-27 | decoder/sidplay: play monaural SID tunes in mono | Alder Hornbridge | 1 | -2/+10 | |
2010-10-14 | Container support for gme decoder. | Tony Miller | 1 | -8/+114 | |
2010-10-11 | playlist/rss: new playlist plugin for RSS feeds | Max Kellermann | 3 | -0/+348 | |
2010-10-09 | mixer: winmm_mixer implemented | Denis Krjuchkov | 4 | -0/+153 | |
2010-10-08 | win32_output: renamed win32 output plugin to winmm | Denis Krjuchkov | 2 | -53/+53 | |
Win32 has many audio APIs. New name is slightly more correct. | |||||
2010-10-05 | output/httpd: use the new server_socket library | Max Kellermann | 2 | -118/+32 | |
2010-10-05 | listen: move generic code to server_socket.c | Max Kellermann | 3 | -354/+551 | |
2010-10-05 | output/httpd: don't close socket in open() failure | Max Kellermann | 1 | -2/+0 | |
This cleanup call is obsolete, since we moved the binding code to enable()/disable(). | |||||
2010-10-05 | output_all: disable outputs on shutdown | Max Kellermann | 1 | -0/+1 | |
Call output_plugin.disable() before output_plugin.finish(). This ensures that all outputs are properly cleaned up, to make valgrind happy. |