Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'v0.17.x' | Max Kellermann | 2012-10-02 | 1 | -3/+7 |
|\ | |||||
| * | OSX: Set mDataByteSize correctly on AudioBuffers during render. | Gregory Smith | 2012-10-02 | 1 | -3/+7 |
| | | |||||
* | | output/shout: move code to my_shout_configure() | Max Kellermann | 2012-10-02 | 1 | -31/+40 |
| | | | | | | | | Eliminate the evil goto. | ||||
* | | Merge branch 'v0.17.x' | Max Kellermann | 2012-10-02 | 3 | -123/+101 |
|\| | |||||
| * | output/{recorder,shout}: call encoder_read() in a loop | Max Kellermann | 2012-10-02 | 2 | -16/+21 |
| | | | | | | | | This is necessary for Ogg packets that span more than one page. | ||||
| * | output/recorder: move code to _write_to_file() | Max Kellermann | 2012-10-02 | 1 | -19/+31 |
| | | |||||
| * | output/recorder: fix write() error check | Max Kellermann | 2012-10-02 | 1 | -3/+3 |
| | | | | | | | | We can only check for negative values if the variable is signed. | ||||
| * | output/recorder: make variables more local | Max Kellermann | 2012-10-02 | 1 | -16/+12 |
| | | |||||
| * | output/httpd: make variables more local | Max Kellermann | 2012-10-02 | 1 | -31/+16 |
| | | |||||
| * | output/recorder, test/*: invoke encoder_read() after _open() | Max Kellermann | 2012-10-02 | 1 | -0/+7 |
| | | | | | | | | | | Make sure the file header gets written at the beginning, before _write() gets called. | ||||
| * | output/shout: eliminate struct shout_buffer | Max Kellermann | 2012-10-02 | 1 | -7/+3 |
| | | | | | | | | Move the raw buffer to struct shout_data. | ||||
| * | output/shout: remove shout_buffer.len | Max Kellermann | 2012-10-02 | 1 | -9/+4 |
| | | | | | | | | Make it a local variable instead. | ||||
| * | output/shout: fix memory leak in error handler | Max Kellermann | 2012-10-02 | 1 | -2/+7 |
| | | |||||
| * | output/shout: make variables more local | Max Kellermann | 2012-10-02 | 1 | -49/+26 |
| | | |||||
* | | Merge branch 'v0.17.x' | Max Kellermann | 2012-08-14 | 3 | -78/+88 |
|\| | |||||
| * | output/jack: implement method delay() | Max Kellermann | 2012-08-14 | 1 | -4/+11 |
| | | | | | | | | Eliminate the g_usleep() call. | ||||
| * | output/pulse: implement method delay() | Max Kellermann | 2012-08-14 | 1 | -7/+21 |
| | | | | | | | | Reduce command latency while paused. | ||||
| * | output/pulse: simplify _wait_stream() | Max Kellermann | 2012-08-14 | 1 | -55/+16 |
| | | | | | | | | One large loop and only one pa_stream_get_state() call. | ||||
| * | output/httpd: move delay from _pause() to _delay() | Max Kellermann | 2012-08-14 | 1 | -1/+5 |
| | | |||||
| * | output/httpd: fix throttling bug after resuming playback | Max Kellermann | 2012-08-14 | 1 | -0/+8 |
| | | | | | | | | | | | | Reset the timer when paused and no client is connected. This fixes Mantis ticket 0003527. | ||||
| * | output/httpd: move code to _has_clients() | Max Kellermann | 2012-08-14 | 1 | -11/+27 |
| | | |||||
* | | gcc.h: re-add gcc_const and gcc_pure | Max Kellermann | 2012-08-02 | 1 | -2/+1 |
| | | | | | | | | Remove GLib dependency from some headers. | ||||
* | | DatabaseVisitor, ...: use GError forward declaration | Max Kellermann | 2012-08-02 | 1 | -2/+2 |
|/ | |||||
* | require GLib 2.16 | Max Kellermann | 2012-07-10 | 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. | ||||
* | output/raop: delete the RAOP plugin | Max Kellermann | 2012-05-29 | 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. | ||||
* | output/alsa: multiply writei() result with out_frame_size | Max Kellermann | 2012-04-23 | 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. | ||||
* | pcm_export: add _frame_size() | Max Kellermann | 2012-04-23 | 1 | -3/+1 |
| | | | | Move code from the ALSA output plugin. | ||||
* | output/alsa: fix out_frame_size formula, multiply with channels | Max Kellermann | 2012-04-23 | 1 | -1/+3 |
| | | | | | The hard-coded "3 bytes" was wrong because it ignored the number of channels. | ||||
* | Merge branch 'v0.16.x' | Max Kellermann | 2012-04-05 | 4 | -59/+55 |
|\ | | | | | | | | | | | Conflicts: src/output/osx_plugin.c src/text_input_stream.c | ||||
| * | encoder/vorbis: generate end-of-stream packet when playback ends | Max Kellermann | 2012-04-05 | 2 | -2/+2 |
| | | | | | | | | | | Add the encoder_plugin method end(). This is important for the recorder plugin. | ||||
| * | output/jack: check for connection failure before starting playback | Max Kellermann | 2012-04-04 | 1 | -0/+3 |
| | | |||||
| * | output/jack: workaround for libjack1 crash bug | Max Kellermann | 2012-04-04 | 1 | -0/+13 |
| | | |||||
| * | output/osx: use the fifo_buffer library instead of rolling own | Max Kellermann | 2012-03-28 | 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. | ||||
* | | audio_format: remove SAMPLE_FORMAT_DSD_OVER_USB | Max Kellermann | 2012-03-27 | 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. | ||||
* | | output/alsa: support 32 bit DSD-over-USB | Max Kellermann | 2012-03-27 | 1 | -4/+15 |
| | | |||||
* | | pcm_export: implement 24 to 32 bit conversion | Max Kellermann | 2012-03-27 | 2 | -2/+2 |
| | | | | | | | | For 32 bit DSD-over-USB support. | ||||
* | | output/alsa: use pcm_export for the DSD-over-USB conversion | Max Kellermann | 2012-03-27 | 1 | -11/+10 |
| | | |||||
* | | pcm_export: support DSD to DSD-over-USB conversion | Max Kellermann | 2012-03-27 | 2 | -6/+12 |
| | | | | | | | | Prepare for removing SAMPLE_FORMAT_DSD_OVER_USB. | ||||
* | | output/alsa: move pcm_export_open() to caller | Max Kellermann | 2012-03-27 | 1 | -11/+16 |
| | | | | | | | | Give the caller more control, prepare for DSD-over-USB improvements. | ||||
* | | output/alsa: more debug output | Max Kellermann | 2012-03-27 | 1 | -0/+8 |
| | | |||||
* | | output/alsa: add option to enable DSD over USB | Max Kellermann | 2012-03-22 | 1 | -1/+54 |
| | | |||||
* | | output/alsa: split the frame_size attribute | Max Kellermann | 2012-03-22 | 1 | -6/+18 |
| | | | | | | | | Make it in_frame_size and out_frame_size, to account for packing. | ||||
* | | audio_format: remove the packed S24 format | Max Kellermann | 2012-03-22 | 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. | ||||
* | | output/alsa: use pcm_export to pack 24 bit samples | Max Kellermann | 2012-03-22 | 1 | -15/+48 |
| | | |||||
* | | output/oss: use pcm_export to pack 24 bit samples | Max Kellermann | 2012-03-22 | 1 | -10/+15 |
| | | |||||
* | | pcm_export: add option "pack" | Max Kellermann | 2012-03-22 | 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. | ||||
* | | output/oss: remember the real OSS format | Max Kellermann | 2012-03-22 | 1 | -5/+13 |
| | | | | | | | | | | Improving oss_reopen() by using the very same value that was used initially. | ||||
* | | output/alsa: simplify setup_format() | Max Kellermann | 2012-03-22 | 1 | -7/+4 |
| | | |||||
* | | output/alsa: don't pass audio_format to _try_format() | Max Kellermann | 2012-03-22 | 1 | -16/+13 |
| | | | | | | | | Let the caller configure the audio_format object. | ||||
* | | output/alsa: simplify alsa_output_try_format_both() | Max Kellermann | 2012-03-22 | 1 | -45/+18 |
| | | | | | | | | Merge three functions into one and call get_bitformat() only once. |