- 07 Mar, 2009 17 commits
-
-
Max Kellermann authored
Sometimes, audio_output_update() isn't called for the second device when the first one has succeeded. The patch "audio_output_all_update() returns bool" broke it, because the boolean evaluation ended after the first "true".
-
Max Kellermann authored
-
Max Kellermann authored
Another "remove redundant explicit $enableval assignments" breakage.
-
Max Kellermann authored
Added two assertions.
-
Max Kellermann authored
When the decoder chunk is empty in decoder_flush_chunk(), don't push it into the music pipe - return it to the music buffer instead. An empty chunk in the pipe wastes resources for no advantage.
-
Max Kellermann authored
-
Max Kellermann authored
The value of music_chunk.next is undefined for a chunk returned by music_pipe_shift(). For more pedantic debugging, poison the reference before returning the chunk.
-
Max Kellermann authored
music_pipe_peek() is similar to music_pipe_shift(), but doesn't remove the chunk. This allows it to be used with a "const" music_pipe.
-
Max Kellermann authored
audio_output_all_update() returns true when there is at least open output device which is open.
-
David Guibert authored
This patch follows the commit 21bb10f4. >From Max Kellermann: > I removed the daemonization changes in main.c. Please explain why you > changed that. If you need it for some reason, make that a separate > patch with a good description of your rationale. > That's the biggest flaw of your code: it opens the mixer device in the > init() method, while the open() method is empty. When the pulse > daemon is not available (either during MPD startup or when it dies > while MPD runs), the plugin will not even attempt to reconnect to > pulse. Please move the code to the open() method, to make that work. I changed the daemonize call as the fork losts the connection to the pulse server. According to your remark, the init() method should be moved to the open() ones. With the modification, mpd is able to reconnect the pulse mixer after restarting the pulseaudio daemon. Signed-off-by: David Guibert <david.guibert@gmail.com> Signed-off-by: Max Kellermann <max@duempel.org>
-
Max Kellermann authored
Added two new team members. Updated the description of older contributors. Moved José Anarch and Patrik Weiskircher to "former developers".
-
Max Kellermann authored
-
Max Kellermann authored
Shorten some log messages, let GLib add the "pulse_mixer" prefix.
-
Max Kellermann authored
Don't include output_api.h - this is not an output plugin. Added missing explicit conf.h and string.h includes.
-
David Guibert authored
This patch introduces the mixer for the pulse output. Technically speaking, the pulse index is needed to get or set the volume. You must define callback fonctions to get this index since the pulse output in mpd is done using the simpe api. The pulse simple api does not provide the index of the newly defined output. So callback fonctions are associated to the pulse context. The list of all the sink input is then retreived. Then we select the name of the mpd pulse output and control its volume by its associated index number. Signed-off-by: Patrice Linel <patnathanael@gmail.com> Signed-off-by: David Guibert <david.guibert@gmail.com> [mk: fixed whitespace errors and broke long lines; removed daemonization changes from main.c]
-
Max Kellermann authored
When the init() method of a mixer plugin fails, mixer_new() dereferences the NULL pointer.
-
Max Kellermann authored
The patch "remove redundant explicit $enableval assignments" broke several options with non-standard variable names.
-
- 06 Mar, 2009 18 commits
-
-
Avuton Olrich authored
-
Avuton Olrich authored
-
Avuton Olrich authored
Most strings have no capitalization at the beinning, make all strings non-capital.
-
Avuton Olrich authored
-
Avuton Olrich authored
-
Avuton Olrich authored
-
Avuton Olrich authored
-
Avuton Olrich authored
-
Avuton Olrich authored
-
Avuton Olrich authored
-
Avuton Olrich authored
-
Max Kellermann authored
The GLIB_CHECK_VERSION() macro was used improperly, which broke build on GLib < 2.14. Add a "!" for negation.
-
Max Kellermann authored
On some systems, the macro IN6_IS_ADDR_V4MAPPED() is not available. Don't try to convert IPv6 to their IPV4 equivalents in this case.
-
Avuton Olrich authored
-
Avuton Olrich authored
-
Avuton Olrich authored
Add 'Streaming Support section to the configure display, clarify the text and unify with the rest of the display.
-
Avuton Olrich authored
-
Avuton Olrich authored
The configure problem was: ./configure: line 6934: ,: command not found
-
- 05 Mar, 2009 5 commits
-
-
Max Kellermann authored
Turn the music_pipe into a simple music_chunk queue. The music_chunk allocation code is moved to music_buffer, and is now managed with a linked list instead of a ring buffer. Two separate music_pipe objects are used by the decoder for the "current" and the "next" song, which greatly simplifies the cross-fading code.
-
Max Kellermann authored
Added music_pipe_allocate(), music_pipe_push() and music_pipe_cancel(). Those functions allow the caller (decoder thread in this case) to do its own chunk management. The functions music_pipe_flush() and music_pipe_tag() can now be removed.
-
Max Kellermann authored
The queue update after a seek was wrong: the queued song is cleared by a successful seek. This caused queue/cross-fading problems after a seek.
-
Max Kellermann authored
After the decoder command was obtained, don't wait until libflac detects EOF (as a side effect), quit the decoder immediately. This check was missing completely.
-
Max Kellermann authored
When the MPD core sends the decoder a command while flac_process_single() is executed, this function fails. Abort the decoder only if not seeking. This fixes a seeking bug.
-