Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | OutputControl: fix fail_timer check right after booting | Romain Rollet | 2015-06-20 | 1 | -1/+2 |
| | | | | | | Right after booting, the monotonic clock starts with a very small value, and AudioOutput::LockUpdate() may believe that the fail_timer has not recovered yet. | ||||
* | Merge branch 'v0.18.x' into v0.19.x | Max Kellermann | 2014-12-26 | 1 | -1/+1 |
|\ | |||||
| * | db/proxy, output/shout: fix implicit nullptr/bool conversion | Max Kellermann | 2014-12-26 | 1 | -1/+1 |
| | | | | | | | | Return false on error, not nullptr. | ||||
| * | output/roar: remove unnecessary "volatile" keyword | Max Kellermann | 2014-11-02 | 1 | -1/+1 |
| | | | | | | | | | | A mutex acts as a memory barrier, and thus "volatile" is not necessary. | ||||
* | | Output: start with a null mixer. | Nix | 2014-12-01 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | There are code paths (mostly error cases) in which it is possible to initialize an AudioOutput and then kill it without ever calling audio_output_new(). In such a case, its destructor will attempt to free a mixer that was never initialized, leading to an attempt to take out a lock on a mutex that was similarly never initialized, which hangs forever. Fix by always initializing the mixer appropriately. | ||||
* | | OutputThread: fall back to PCM if given DSD sample rate is not supported | Max Kellermann | 2014-10-25 | 1 | -0/+30 |
| | | | | | | | | | | Works around the "PCM conversion from f to dsd is not implemented" error message that prevents DSD playback. | ||||
* | | OutputThread: close the output plugin after filter failure | Max Kellermann | 2014-10-24 | 1 | -0/+1 |
| | | | | | | | | Fixes memory leak because ao_plugin_close() never gets called. | ||||
* | | OutputThread: unlock mutex for CloseFilter() | Max Kellermann | 2014-10-24 | 2 | -0/+14 |
| | | | | | | | | Be consistent. | ||||
* | | output/roar: remove unnecessary "volatile" keyword | Max Kellermann | 2014-10-23 | 1 | -1/+1 |
| | | | | | | | | | | A mutex acts as a memory barrier, and thus "volatile" is not necessary. | ||||
* | | Add MusicBrainz' Release Track Id tag | Wieland Hoffmann | 2014-09-27 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | The Release Track Id uniquely identifies a recording on a release - that is, even if a recording appears twice on a release (meaning that the combination of recording and release id are not enough to figure out which one it is), the release track id will allow differentiating the two. The tag names are taken from https://musicbrainz.org/doc/MusicBrainz_Picard/Tags/Mapping | ||||
* | | output/alsa: change a few "dsd" to "dop" | Max Kellermann | 2014-09-26 | 1 | -4/+4 |
| | | |||||
* | | Merge branch 'v0.18.x' | Max Kellermann | 2014-09-24 | 1 | -1/+10 |
|\| | |||||
* | | output/pulse: simplify _wait_for_operation() | Max Kellermann | 2014-09-05 | 1 | -6/+3 |
| | | | | | | | | Eliminate the duplicate pa_operation_get_state() call. | ||||
* | | output/alsa, pcm: rename "DSD over USB" to "DoP" | Max Kellermann | 2014-08-31 | 1 | -20/+21 |
| | | | | | | | | | | The standard has been renamed since the early draft that was implemented in MPD. | ||||
* | | Merge tag 'v0.18.13' | Max Kellermann | 2014-08-31 | 2 | -0/+15 |
|\| | |||||
| * | output/alsa: fix endless loop at end of file in dsd_usb mode | Max Kellermann | 2014-08-31 | 1 | -0/+9 |
| | | |||||
| * | output/{alsa,oss}: add assertions | Max Kellermann | 2014-08-31 | 2 | -0/+6 |
| | | |||||
| * | output/HttpdClient: fix build failure due to missing stdio.h include | Gustavo Zacarias | 2014-07-09 | 1 | -0/+1 |
| | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> | ||||
* | | *: add missing Compiler.h includes | Max Kellermann | 2014-08-30 | 1 | -0/+1 |
| | | | | | | | | Necessary for "final" on gcc 4.6. | ||||
* | | output/alsa: fix signed/unsigned comparison warning | Max Kellermann | 2014-08-30 | 1 | -1/+1 |
| | | |||||
* | | MusicChunk: use SignedSongTime for the time stamp | Max Kellermann | 2014-08-29 | 1 | -2/+2 |
| | | |||||
* | | MultipleOutputs: use SignedSongTime for elapsed_time | Max Kellermann | 2014-08-29 | 2 | -8/+9 |
| | | |||||
* | | Tag: use SignedSongTime for the song duration | Max Kellermann | 2014-08-29 | 1 | -6/+10 |
| | | |||||
* | | output/alsa: fix coding style | Max Kellermann | 2014-08-26 | 1 | -5/+5 |
| | | |||||
* | | output/alsa: merge Init() into Configure() | Max Kellermann | 2014-08-26 | 1 | -6/+5 |
| | | |||||
* | | output/alsa: add API documentation | Max Kellermann | 2014-08-26 | 1 | -0/+17 |
| | | |||||
* | | output/alsa: support native DSD playback | Max Kellermann | 2014-08-26 | 1 | -0/+12 |
| | | | | | | | | | | Translate SampleFormat::DSD to SND_PCM_FORMAT_DSD_U8, which was added to alsa-lib 1.0.27.1. | ||||
* | | output/alsa: move alsa_configure() into the class | Max Kellermann | 2014-08-26 | 1 | -13/+15 |
| | | |||||
* | | output/alsa: remove obsolete macros | Max Kellermann | 2014-08-26 | 1 | -3/+0 |
| | | |||||
* | | PcmExport: use class ConstBuffer | Max Kellermann | 2014-08-12 | 2 | -2/+8 |
| | | |||||
* | | Filter: FilterPCM() returns ConstBuffer | Max Kellermann | 2014-08-12 | 1 | -58/+35 |
| | | | | | | | | | | API simplification. We can now avoid abusing a "size_t*" as additional return value. | ||||
* | | MusicChunk: rename struct to MusicChunk | Max Kellermann | 2014-08-12 | 4 | -24/+24 |
| | | |||||
* | | fs/output, fs/TextFile: move to fs/io/ | Max Kellermann | 2014-08-07 | 1 | -1/+1 |
| | | |||||
* | | *Save, *State: use the OutputStream API instead of FILE* | Max Kellermann | 2014-07-30 | 2 | -6/+7 |
| | | |||||
* | | util/Cast: reimplement as template without macro | Max Kellermann | 2014-07-14 | 1 | -10/+4 |
| | | |||||
* | | Tag: add class const_iterator and methods begin(), end() | Max Kellermann | 2014-07-12 | 2 | -9/+11 |
| | | | | | | | | Enables using range-based "for". | ||||
* | | output/plugins/httpd/HttpdClient: fix build failure due to missing stdio.h ↵ | Gustavo Zacarias | 2014-07-09 | 1 | -0/+1 |
| | | | | | | | | | | | | include Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> | ||||
* | | MultipleOutputs: ensure input_audio_format is zero-initialised | Pete Beardmore | 2014-03-14 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -fixes SIGABRT when mpd is started from a previously paused state -regression introduced by commit: f5a923b9d16e4c63942a033d1bdb2ab150aae342: 'OutputAll: convert to class, move instance to class Partition' -input_audio_format was previously declared using the static modifier ensuring it was zero-initialised by default -the current default-initialised input_audio_format contains garbage at runtime which allows the AudioFormat.IsDefined() 'fail fast' test in MultipleOutputs::Update to pass and the SIGABRT follows in AudioOutput::Open when passed the invalid input_audio_format struct -switching AudioFormat.IsDefined() for AudioFormat.IsValid() is an alternative workaround | ||||
* | | PulseOutputPlugin: set icon name | Pete Beardmore | 2014-03-04 | 1 | -0/+1 |
| | | |||||
* | | Merge tag 'release-0.18.9' | Max Kellermann | 2014-03-02 | 1 | -33/+22 |
|\| | |||||
| * | output/alsa: remove the obsolete Raspberry Pi workaround | Max Kellermann | 2014-03-02 | 1 | -36/+0 |
| | | | | | | | | Has been superseded by the previous commit. | ||||
| * | output/alsa: call snd_pcm_prepare() after snd_pcm_drop() | Max Kellermann | 2014-03-02 | 1 | -0/+25 |
| | | | | | | | | | | | | | | Don't wait for an optimistic write to fail. This is an improved workaround for the infamous Raspberry Pi bug (see commit af991765). It works much better and comes without the negative side effects. The old workaround is now obsolete. | ||||
| * | output/pulse: remove bogus g_free() call | Max Kellermann | 2014-02-24 | 1 | -2/+0 |
| | | |||||
* | | output/sles: support stereo | Max Kellermann | 2014-03-01 | 1 | -5/+7 |
| | | |||||
* | | output/httpd/client: eliminate GLib | Max Kellermann | 2014-02-24 | 1 | -13/+11 |
| | | |||||
* | | output/{shout,win32}: include cleanup | Max Kellermann | 2014-02-24 | 2 | -3/+0 |
| | | |||||
* | | output/openal: use usleep() instead of g_usleep() | Max Kellermann | 2014-02-24 | 1 | -2/+2 |
| | | |||||
* | | output/pulse: use setenv() instead of g_setenv() | Max Kellermann | 2014-02-24 | 1 | -3/+2 |
| | | | | | | | | There is no advantage in using g_setenv(). | ||||
* | | output/pulse: remove bogus g_free() call | Max Kellermann | 2014-02-24 | 1 | -2/+0 |
| | | |||||
* | | output/sles: new output plugin for Android | Max Kellermann | 2014-02-22 | 7 | -0/+817 |
| | |