- 10 Mar, 2010 3 commits
-
-
Max Kellermann authored
Did you ever accidently click "stop" while feeding a radio station? This option sets the output device to "pause" to disable the "close" method. It falls back to "pause" then, which is specific to the plugin. Some plugins implement it by feeding silence.
-
Max Kellermann authored
If we're not doing this, and a new song is played after pause ends, then you will hear the rest of the previous song.
-
Max Kellermann authored
Always use the same number of samples from each channel's ring buffer. This ensures that all channels are kept in sync.
-
- 07 Mar, 2010 1 commit
-
-
Max Kellermann authored
-
- 27 Feb, 2010 5 commits
-
-
Max Kellermann authored
Pass everything to the GLib logging library. No direct stderr access.
-
Max Kellermann authored
The pointer is invalid if av_open_input_file() fails.
-
Max Kellermann authored
This is a very basic check, which only ensures that the path does not begin with a slash, doesn't have double slashes and the special names "." and ".." are forbidden.
-
Max Kellermann authored
Dots at the beginning of an URI segment are ok, as long as the special names "." and ".." are not used.
-
Max Kellermann authored
-
- 17 Feb, 2010 5 commits
-
-
Max Kellermann authored
Add an option for each audio output which enables the use of the hardware mixer, instead of the software volume code. This is hardware specific, and assumes linear volume control. This is not the case for hardware mixers which were tested, making this patch somewhat useless, but we will use it to experiment with the settings, to find a good solution.
-
Max Kellermann authored
-
Max Kellermann authored
Apply the replay gain in the output thread. This means a new setting will be active instantly, without going through the whole music pipe. And we might have different replay gain settings for each audio output device.
-
Max Kellermann authored
Don't allocate each replay_gain_info object on the heap. Those objects who held a pointer now store a full replay_gain_info object. This reduces the number of allocations and heap fragmentation.
-
Max Kellermann authored
The previous patch not only moved code, it also changed the check. Negative gain values seem to be valid after all, there just was the "magic" value 0.0 which means "not available". This patch changes the "magic" value to "INFINITY", and uses the C99 function isinf() to check. It might have been a better idea to use "NAN", but the "NAN" macro is a GNU extension.
-
- 15 Feb, 2010 3 commits
-
-
Max Kellermann authored
Moved (and renamed) the function calc_replay_gain_scale() to replay_gain_info.c.
-
Max Kellermann authored
This function determines whether replay gain data is available.
-
Max Kellermann authored
-
- 08 Feb, 2010 6 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
This document has been unmaintained for more than a year now (since the day it was submitted).
-
Max Kellermann authored
Same for "listplaylistinfo".
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
The only "return" statement always returns 0.
-
- 02 Feb, 2010 1 commit
-
-
Anton Khirnov authored
-
- 28 Jan, 2010 1 commit
-
-
Tim Phipps authored
-
- 20 Jan, 2010 3 commits
-
-
Max Kellermann authored
Use MPD_AUTO_RESULT(). Don't force libwrap by default.
-
Davide Camurri authored
-
Max Kellermann authored
Pass the current URI to wavpack_open_wvc().
-
- 18 Jan, 2010 9 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Don't use the function ffmpeg_helper(), don't initialize the codec.
-
Max Kellermann authored
Fix a memory leak in some code paths.
-
Max Kellermann authored
Use input_stream.uri.
-
Max Kellermann authored
-
Max Kellermann authored
All close() implementations must call this method.
-
Max Kellermann authored
Conflicts: Makefile.am NEWS configure.ac src/decoder/ffmpeg_decoder_plugin.c src/decoder_thread.c
-
Avuton Olrich authored
-
- 17 Jan, 2010 3 commits
-
-
Max Kellermann authored
When all plugins have failed, MPD used to fall back to the "mad" decoder plugin, to handle those radio streams without a Content-Type response header. This however leads to unexpected results (garbage being played) when the stream isn't really mp3. Since we care little about "bad" streams, we shouldn't have hacks which have bad side effects. Let's get rid of this hack now! Only try to "mad" plugin if there was no match at all (Content-Type, path suffix) and no other plugin has been tried.
-
Max Kellermann authored
Manage a linked list of plugins which were already tried.
-
Max Kellermann authored
Taken from the ffmpeg sources.
-