- 10 Jan, 2009 1 commit
-
-
Viliam Mateicka authored
This patch tryes to introduce pluggable mixer (struct mixer_plugin) along with some basic infrastructure (mixer_* functions). Instance of mixer (struct mixer) is used in alsa and oss output plugin
-
- 08 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 07 Jan, 2009 1 commit
-
-
Max Kellermann authored
All what's left in pcm_utils.h is the pcm_range() utility function, which is only used internally by pcm_volume and pcm_mix.
-
- 05 Jan, 2009 2 commits
-
-
Max Kellermann authored
"#ifdef G_BYTE_ORDER == G_BIG_ENDIAN" cannot work, of course.
-
Max Kellermann authored
-
- 04 Jan, 2009 1 commit
-
-
Viliam Mateicka authored
-
- 03 Jan, 2009 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
g_strsplit() is more portable than strtok_r().
-
- 02 Jan, 2009 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
JACK documentation states: "The caller is responsible for calling free(3) any non-NULL returned value." This does not seem to include the array elements. Duplicate them after jack_get_ports(), and free only the array. Convert JackData.output_ports to non-const.
-
- 01 Jan, 2009 2 commits
-
-
Max Kellermann authored
Use GLib's G_GNUC_UNUSED instead of gcc.h's mpd_unused.
-
Max Kellermann authored
Use GLib's G_GNUC_UNUSED instead of macros from gcc.h.
-
- 31 Dec, 2008 1 commit
-
-
Viliam Mateicka authored
-
- 29 Dec, 2008 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 28 Dec, 2008 1 commit
-
-
Thomas Jansen authored
-
- 23 Dec, 2008 2 commits
-
-
Viliam Mateicka authored
-
Viliam Mateicka authored
-
- 17 Dec, 2008 6 commits
-
-
Emanuele Giaquinta authored
-
Emanuele Giaquinta authored
Remove useless computation. After the pthread_cond_wait loop there are at least MIN(od->bufferSize, size) free bytes in the buffer. Thus MIN(od->bufferSize - od->len, size) is always equal to MIN(od->bufferSize, size).
-
Emanuele Giaquinta authored
-
Emanuele Giaquinta authored
-
Emanuele Giaquinta authored
-
Emanuele Giaquinta authored
-
- 09 Dec, 2008 1 commit
-
-
Max Kellermann authored
There have been bug reports on MPD regarding 24 bit output via libao/esd. The "ao" plugin does not attempt fall back to 16 bit currently, and thus fails to play 24 bit audio (i.e. all mp3 files). Make it always use 16 bit samples for now, until more bits are well-tested.
-
- 08 Dec, 2008 3 commits
-
-
Max Kellermann authored
The OS X output does not seem to support 24 bit audio in the way MPD implements it currently. Fall back to 16 bit for now, and schedule 24 bit support on OS X for MPD 0.15.
-
Max Kellermann authored
One my_usleep() invocation remains, until we find out if we can delete it.
-
Max Kellermann authored
Cast AudioBuffer.mData to a "unsigned char*" before adding "curpos". This fixes a gcc warning.
-
- 01 Dec, 2008 1 commit
-
-
Max Kellermann authored
Commit dd7711d8 removed MPD's default ALSA buffer_time. The result was a buffer size which was way too small for playing streams on some sound hardware, and caused skips and distorted sound. Revert the default to 500 ms.
-
- 30 Nov, 2008 2 commits
-
-
Max Kellermann authored
"float (*lamebuf)[2] = g_malloc()" does NOT allocate two float* buffers. The formula is even wrong: it should be applied to LAME's output buffer, not its input buffer. Converted "lamebuf" to the two variables "left" and "right", and allocate them independently with the exact buffer size. Set right=left if mono output is configured.
-
Max Kellermann authored
It's easier to work with an int16_t* pointer here.
-
- 25 Nov, 2008 7 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
If the shout plugin is disabled, shout_plugin.c isn't compiled at all, no need to check the macro definition.
-
Max Kellermann authored
When ao_open_live() failed, MPD would ignore the error code in "errno". Make it print a meaningful error message.
-
Max Kellermann authored
The function audioOutputAo_error() did not implement all possible libao error codes. Support the rest of them, and fall back to strerror().
-
Max Kellermann authored
-