- 25 Jan, 2009 8 commits
-
-
Max Kellermann authored
Allocate the mixer object when it is configured. Merged mixer_configure() into mixer_new(). mixer_new() was quite useless anyway.
-
Max Kellermann authored
Don't use statically allocated mixer objects.
-
Max Kellermann authored
Return the default value in the conf_get_block_*() functions when param==NULL was passed. This simplifies a lot of code, because all initialization can be done in one code path, regardless whether configuration is present.
-
Max Kellermann authored
All config_get_block_*() functions should accept constant config_param pointers.
-
Max Kellermann authored
Document alsa_data members.
-
Max Kellermann authored
frame_size is a memory size and should be a size_t, not a signed integer.
-
Max Kellermann authored
Renamed types, functions, variables.
-
Dan McGee authored
Two bugs here led to a large number of interrupts being generated on the sound card when ALSA output is being used. Because we specify no default period_time, the sound card gives us 3000 interrupts/sec rather than a more sane 20 or 30. This completes the revert of dd7711 already started by 4ca24f. The larger bug was in the change to config_get_block_unsigned() and using 0 as the default value for both 'buffer_time' and 'period_time'. This means any pre-setting of these options in newAlsaData() gets wiped out. Add a new default for period_time, and ensure default values for buffer_time and period_time are used if none are provided by the user. Signed-off-by:
Dan McGee <dan@archlinux.org> [mk: set defaults in newAlsaData() to fix auto-configuration; renamed "_MS" back to "_US" because ALSA expects microseconds, not milliseconds] Signed-off-by:
Max Kellermann <max@duempel.org>
-
- 22 Jan, 2009 3 commits
-
-
Max Kellermann authored
The null plugin synchronizes the playback so it will happen in real time. This patch adds a configuration option which disables this: the playback will then be as fast as possible. This can be useful to profile MPD.
-
Max Kellermann authored
Free memory in the finish() method to make valgrind happy.
-
Max Kellermann authored
Renamed functions and variables.
-
- 18 Jan, 2009 4 commits
-
-
Max Kellermann authored
Eliminate some more getBlockParam() invocations.
-
Max Kellermann authored
This replaces lots of getBlockParam() invocations.
-
Max Kellermann authored
Don't modify the configured string.
-
Max Kellermann authored
Determine the audio output name with audio_output_get_name() instead of obtaining the name from the configuration again.
-
- 17 Jan, 2009 2 commits
-
-
Max Kellermann authored
No "force" parameter, pass a default value instead.
-
Max Kellermann authored
Renamed functions, types, variables.
-
- 16 Jan, 2009 1 commit
-
-
Max Kellermann authored
It returns bool, not int.
-
- 14 Jan, 2009 1 commit
-
-
Antoine Beaupré authored
I was having problems with shoutcast stream outputs before applying the attached patch, which enlarges the shoutcast output buffer. Ideally, this should be configurable, but this resolves the issue for my needs.
-
- 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 1 commit
-
-
Emanuele Giaquinta authored
-