Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2012-08-14 | output/jack: implement method delay() | Max Kellermann | 1 | -4/+11 | |
Eliminate the g_usleep() call. | |||||
2012-08-14 | output/pulse: implement method delay() | Max Kellermann | 1 | -7/+21 | |
Reduce command latency while paused. | |||||
2012-08-14 | output/pulse: simplify _wait_stream() | Max Kellermann | 1 | -55/+16 | |
One large loop and only one pa_stream_get_state() call. | |||||
2012-08-14 | output/httpd: move delay from _pause() to _delay() | Max Kellermann | 1 | -1/+5 | |
2012-08-14 | output/httpd: fix throttling bug after resuming playback | Max Kellermann | 1 | -0/+8 | |
Reset the timer when paused and no client is connected. This fixes Mantis ticket 0003527. | |||||
2012-08-14 | output/httpd: move code to _has_clients() | Max Kellermann | 1 | -11/+27 | |
2012-07-10 | require GLib 2.16 | Max Kellermann | 1 | -1/+0 | |
GLib 2.16 was released more than 4 years ago. Let's remove some cruft from the glib_compat.h header, and avoid new cruft to it. | |||||
2012-05-29 | output/raop: delete the RAOP plugin | Max Kellermann | 2 | -1093/+0 | |
This plugin is horrible code, I mean it. Last year, I tried hard to fix it, but I figured would take less time to do a full rewrite. Given that I don't even have any device that supports RAOP, I can't do that properly. After 16 months, nobody volunteered for fixing it. Hereby, I delete it, because having no RAOP plugin is better than having this mess. Sorry. | |||||
2012-04-23 | output/alsa: multiply writei() result with out_frame_size | Max Kellermann | 1 | -1/+3 | |
.. and not in_frame_size, because this relates to the frame size being sent to ALSA. pcm_export_source_size() will then turn it back into the in_frame_size scale. | |||||
2012-04-23 | pcm_export: add _frame_size() | Max Kellermann | 1 | -3/+1 | |
Move code from the ALSA output plugin. | |||||
2012-04-23 | output/alsa: fix out_frame_size formula, multiply with channels | Max Kellermann | 1 | -1/+3 | |
The hard-coded "3 bytes" was wrong because it ignored the number of channels. | |||||
2012-04-05 | encoder/vorbis: generate end-of-stream packet when playback ends | Max Kellermann | 2 | -2/+2 | |
Add the encoder_plugin method end(). This is important for the recorder plugin. | |||||
2012-04-04 | output/jack: check for connection failure before starting playback | Max Kellermann | 1 | -0/+3 | |
2012-04-04 | output/jack: workaround for libjack1 crash bug | Max Kellermann | 1 | -0/+13 | |
2012-03-28 | output/osx: use the fifo_buffer library instead of rolling own | Max Kellermann | 1 | -56/+37 | |
The existing buffer implementation has a major flaw: it is unable to re-fill the buffer until it has been consumed completely, leading to many occasions where the render callback needs to generate silence, just because the play() implementation was unable to append more data. The fifo_buffer library handles that well. | |||||
2012-03-27 | audio_format: remove SAMPLE_FORMAT_DSD_OVER_USB | Max Kellermann | 2 | -2/+0 | |
DSD-over-USB should not be a MPD core format, because it is not a "natural" format; it is just a temnporary over-the-wire format. This format has been implemented in pcm_export, and does not need to be supported by pcm_convert. | |||||
2012-03-27 | output/alsa: support 32 bit DSD-over-USB | Max Kellermann | 1 | -4/+15 | |
2012-03-27 | pcm_export: implement 24 to 32 bit conversion | Max Kellermann | 2 | -2/+2 | |
For 32 bit DSD-over-USB support. | |||||
2012-03-27 | output/alsa: use pcm_export for the DSD-over-USB conversion | Max Kellermann | 1 | -11/+10 | |
2012-03-27 | pcm_export: support DSD to DSD-over-USB conversion | Max Kellermann | 2 | -6/+12 | |
Prepare for removing SAMPLE_FORMAT_DSD_OVER_USB. | |||||
2012-03-27 | output/alsa: move pcm_export_open() to caller | Max Kellermann | 1 | -11/+16 | |
Give the caller more control, prepare for DSD-over-USB improvements. | |||||
2012-03-27 | output/alsa: more debug output | Max Kellermann | 1 | -0/+8 | |
2012-03-22 | output/alsa: add option to enable DSD over USB | Max Kellermann | 1 | -1/+54 | |
2012-03-22 | output/alsa: split the frame_size attribute | Max Kellermann | 1 | -6/+18 | |
Make it in_frame_size and out_frame_size, to account for packing. | |||||
2012-03-22 | audio_format: remove the packed S24 format | Max Kellermann | 4 | -7/+0 | |
For simplicity, the MPD core should not have to deal with packing. It is rarely used, and those plugins that need it should use the pcm_export library instead. | |||||
2012-03-22 | output/alsa: use pcm_export to pack 24 bit samples | Max Kellermann | 1 | -15/+48 | |
2012-03-22 | output/oss: use pcm_export to pack 24 bit samples | Max Kellermann | 1 | -10/+15 | |
2012-03-22 | pcm_export: add option "pack" | Max Kellermann | 2 | -1/+2 | |
Converts padded 24 bit samples to packed 24 bit samples. Will replace the packed S24 sample format, which is not used internally. | |||||
2012-03-22 | output/oss: remember the real OSS format | Max Kellermann | 1 | -5/+13 | |
Improving oss_reopen() by using the very same value that was used initially. | |||||
2012-03-22 | output/alsa: simplify setup_format() | Max Kellermann | 1 | -7/+4 | |
2012-03-22 | output/alsa: don't pass audio_format to _try_format() | Max Kellermann | 1 | -16/+13 | |
Let the caller configure the audio_format object. | |||||
2012-03-22 | output/alsa: simplify alsa_output_try_format_both() | Max Kellermann | 1 | -45/+18 | |
Merge three functions into one and call get_bitformat() only once. | |||||
2012-03-21 | output/oss: move code to oss_probe_sample_format() | Max Kellermann | 1 | -34/+59 | |
2012-03-21 | output/{alsa,oss}: move endian code to new library pcm_export | Max Kellermann | 2 | -61/+23 | |
2012-03-21 | audio_format: remove the reverse_endian attribute | Max Kellermann | 1 | -3/+1 | |
Eliminate support for reverse endian samples from the MPD core. This moves a lot of complexity to the plugins that really need it (only ALSA and CDIO currently). | |||||
2012-03-21 | output/oss: always receive host byte order samples | Max Kellermann | 1 | -7/+68 | |
Don't use audio_format.reverse_endian. | |||||
2012-03-21 | output/alsa: always receive host byte order samples | Max Kellermann | 1 | -3/+61 | |
Don't use audio_format.reverse_endian. | |||||
2012-03-21 | output/alsa: merge alsa_data_free() into destructor | Max Kellermann | 1 | -8/+3 | |
2012-03-21 | Fix the build on OSX | Rich Healey | 1 | -0/+1 | |
2012-03-21 | audio_format: remove the format SAMPLE_FORMAT_DSD_LSBFIRST | Max Kellermann | 2 | -2/+0 | |
This format is unused since the DSDIFF decoder plugin now reverses the bit order. | |||||
2012-03-19 | audio_format: basic support for DSD-over-USB | Max Kellermann | 2 | -0/+2 | |
2012-03-06 | use g_strerror() instead of strerror() | Max Kellermann | 4 | -19/+19 | |
Make sure we get a UTF-8 encoded string. | |||||
2012-03-01 | raop_output: fix raop_session inbalance | Kurt Van Dijck | 1 | -2/+8 | |
raop_session_free must be called from raop_output_finish, not from raop_output_remove. In raop_output_remove, do close the ntp_server & control port. Signed-off-by: Kurt Van Dijck <kurt.van.dijck@skynet.be> | |||||
2012-03-01 | audio_format: add DSD sample format | Max Kellermann | 2 | -0/+4 | |
Basic support for Direct Stream Digital. No conversion yet, and no decoder/output plugin support. | |||||
2012-02-13 | output/winmm: remove pointless NULL check | Max Kellermann | 1 | -5/+1 | |
pcm_buffer_get() cannot ever return NULL. | |||||
2012-01-04 | output/osx: fix memory leak after AudioUnitSetProperty() failure | Max Kellermann | 1 | -0/+1 | |
2011-12-24 | output/osx: implement 32 bit playback | Max Kellermann | 1 | -2/+6 | |
2011-12-24 | output/osx: allocate the device in enable() | Max Kellermann | 1 | -102/+116 | |
Keep the device open as long as the output is enabled, but initialize it only when playback starts. | |||||
2011-12-24 | output/osx: clear render buffer when there's not enough data | Max Kellermann | 1 | -2/+3 | |
When we don't have enough data, generate some silence, hoping the input buffer will fill soon. Reducing the render buffer size is not legal. | |||||
2011-12-24 | output/osx: remove sleep call from render callback | Max Kellermann | 1 | -4/+0 | |
Blocking inside the render callback is forbidden, and this sleep call didn't make any sense. |