- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 02 Dec, 2009 1 commit
-
-
Max Kellermann authored
This patch prepares support for floating point samples (and probably other formats). It changes the meaning of the "bits" attribute from a bit count to a symbolic value.
-
- 12 Nov, 2009 1 commit
-
-
Max Kellermann authored
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
-
- 07 Nov, 2009 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Make valgrind happy.
-
- 06 Nov, 2009 4 commits
-
-
Max Kellermann authored
Same as the previous patch: create up to 16 configured source ports. The plugin tries to do its best at guessing the right combination for the given input file, the number of source and destination ports.
-
Max Kellermann authored
Support up to 16 configured destination ports, that should really be enough for everybody.
-
Max Kellermann authored
Be more clear which kind of port should be configured here.
-
Max Kellermann authored
Use the same name as in the libjack API documentation.
-
- 05 Nov, 2009 4 commits
-
-
Max Kellermann authored
When MPD plays a mono song (audio_format.channel==1), connect only one source port to both destination ports.
-
Max Kellermann authored
After playback has stopped, the ring buffers may still contain samples. These will be played when playback is started the next time. We should clear the buffers each time.
-
Max Kellermann authored
jack_client_new() is deprecated. This requires libjack 0.100 (released nearly 5 years ago). We havn't been testing older libjack versions anyway. As a side effect, there is the new option "autostart".
-
Max Kellermann authored
Instead of using MPD's audio output name (setting "name"), use a separate configuration option. Change the default to "Music Player Daemon".
-
- 23 Oct, 2009 1 commit
-
-
Max Kellermann authored
Don't connect to JACK before MPD has daemonized.
-
- 21 Oct, 2009 6 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
.. and keep up the JACK connection while MPD runs. Allocate the ring buffers on the first open, and free them at MPD exit.
-
Max Kellermann authored
JACK doesn't need cancel() because it won't do much anyway. Buffers are small.
-
Max Kellermann authored
It's a double pointer.
-
Max Kellermann authored
Don't disconnect from JACK during pause.
-
Max Kellermann authored
-
- 13 Mar, 2009 1 commit
-
-
Avuton Olrich authored
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
-
- 01 Mar, 2009 1 commit
-
-
Max Kellermann authored
The MPD core logs the audio format of all audio outputs. Remove the duplicate message from the plugins.
-
- 26 Feb, 2009 1 commit
-
-
Max Kellermann authored
Use GLib's GError library for reporting output device failures. Note that some init() methods don't clean up properly after a failure, but that's ok for now, because the MPD core will abort anyway.
-
- 25 Feb, 2009 2 commits
-
-
Max Kellermann authored
audio_output_get_name() has been removed, which was the only function left in output_api.h. The output plugin doesn't need the audio_output object at all, remove the parameter from the init() method.
-
Max Kellermann authored
Use config_get_block_string("name") instead of audio_output_get_name().
-
- 24 Feb, 2009 1 commit
-
-
Max Kellermann authored
Fix a gcc warning, initialize the "space" variable at the beginning of mpd_jack_play().
-
- 23 Feb, 2009 2 commits
-
-
Max Kellermann authored
The meaning of the chunk depends on the audio format; don't suggest a specific format by declaring the pointer as "char*", pass "void*" instead.
-
Max Kellermann authored
The old API required an output plugin to not return until all data passed to the play() method is consumed. Some output plugins have to loop to fulfill that requirement, and may block during that. Simplify these, by letting them consume only part of the buffer: make play() return the length of the consumed data.
-
- 19 Feb, 2009 1 commit
-
-
Max Kellermann authored
Now that I've found this nice function in the GLib docs, we can finally remove our custom sleep function. Still all those callers of g_usleep() have to be migrated one day to use events, instead of regular polling.
-
- 16 Feb, 2009 1 commit
-
-
Max Kellermann authored
If an output plugin requires config.h, it should include it directly.
-
- 30 Jan, 2009 4 commits
-
-
Max Kellermann authored
If no ports are configured, don't overwrite the (NULL) configuration with the port names of the first JACK server. If the server changes after a JACK reconnect, MPD won't attempt to auto-detect again.
-
Max Kellermann authored
Currently, the JACK plugin manipulates the audio_format struct which was passed to the open() method. This is very likely to break, because the plugin must not permanently store this pointer. After this patch, MPD ignores sample rate changes. It looks like other software is doing the same, and I guess this is a non-issue. This patch converts the audio_format pointer within jack_data into a static audio_format struct.
-
Max Kellermann authored
jack_set_info_function() is not provided by older libjack versions. Attempt to detect if it is available.
-
Max Kellermann authored
Use jack_set_info_function() to install an info callback. Don't let libjack print them to stderr.
-
- 29 Jan, 2009 6 commits
-
-
Max Kellermann authored
Return false from mpd_jack_play(), let the MPD core close the device.
-
Max Kellermann authored
Don't leave uninitialized bytes in the jack_data struct.
-
Max Kellermann authored
When MPD stops playback, close the JACK client connection.
-
Max Kellermann authored
The "bps" attribute is calculated, but never used.
-
Max Kellermann authored
Return true/false instead of 1/-1.
-
Max Kellermann authored
Preparation for supporting other channel numbers than stereo: use loops instead of duplicating code for the second channel. Most likely, gcc will unroll these loops, so the binary won't be any different.
-