Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PulseOutputPlugin: avoid locking mainloop object from within mainloop thread | Pete Beardmore | 2014-03-05 | 1 | -5/+14 |
| | | | | | | | | | | | | -fixes regression introduced by: '8d6fedf8177d0d2ced81e6d93d35c368b2ac69db [PATCH] Mixer: add class MixerListener' -listener.OnMixerVolumeChanged() called GetVolume() which attempted to acquire the lock but as per 'pa_threaded_mainloop_lock()' documentation: This function may not be called inside the event loop thread. Events that are dispatched from the event loop thread are executed with this lock held -this patch seperates the underlying action of GetVolume() into a new GetVolumeInternal() function, to be called only when the lock is already held, as is the case for the listener.OnMixerVolumeChanged() call | ||||
* | Mixer: add class MixerListener | Max Kellermann | 2014-02-19 | 13 | -44/+90 |
| | | | | Use a listener interface instead of GlobalEvents. | ||||
* | mixer/Plugin: pass AudioOutput reference to init() | Max Kellermann | 2014-02-06 | 10 | -39/+33 |
| | | | | Passing a void pointer is unsafe. | ||||
* | MixerPlugin: convert function pointers to Mixer virtual methods | Max Kellermann | 2014-02-06 | 10 | -297/+199 |
| | |||||
* | Mixer: delete the implicit copy constructor | Max Kellermann | 2014-02-06 | 1 | -0/+2 |
| | |||||
* | Mixer: make the constructor "explicit" | Max Kellermann | 2014-02-06 | 1 | -1/+1 |
| | |||||
* | mixer/software: use IgnoreError() | Max Kellermann | 2014-02-06 | 1 | -2/+2 |
| | |||||
* | Mixer: use reference instead of pointer for MixerPlugin | Max Kellermann | 2014-02-05 | 4 | -26/+18 |
| | |||||
* | Mixer: rename struct mixer_plugin to MixerPlugin | Max Kellermann | 2014-02-05 | 11 | -19/+21 |
| | |||||
* | MixerPlugin: add EventLoop& init() parameter | Max Kellermann | 2014-02-05 | 9 | -14/+25 |
| | |||||
* | output: rename source files | Max Kellermann | 2014-01-28 | 1 | -1/+1 |
| | |||||
* | output: rename struct audio_output to AudioOutput | Max Kellermann | 2014-01-28 | 2 | -4/+4 |
| | |||||
* | OutputPlugin: rename struct audio_output_plugin to AudioOutputPlugin | Max Kellermann | 2014-01-28 | 1 | -1/+1 |
| | |||||
* | OutputAll: convert to class, move instance to class Partition | Max Kellermann | 2014-01-28 | 4 | -133/+57 |
| | | | | Another big chunk of code for multi-player support. | ||||
* | Mixer*: move to mixer/ | Max Kellermann | 2014-01-24 | 19 | -6/+920 |
| | |||||
* | Filter*: move to filter/ | Max Kellermann | 2014-01-24 | 1 | -4/+4 |
| | |||||
* | Config*: move to config/ | Max Kellermann | 2014-01-24 | 2 | -2/+2 |
| | |||||
* | output/*: move to output/plugins/ | Max Kellermann | 2014-01-23 | 4 | -5/+5 |
| | |||||
* | copyright year 2014 | Max Kellermann | 2014-01-13 | 8 | -8/+8 |
| | |||||
* | event/MultiSocketMonitor: add method ClearSocketList() | Max Kellermann | 2014-01-06 | 1 | -1/+3 |
| | |||||
* | event/MultiSocketMonitor: add method ReplaceSocketList() | Max Kellermann | 2014-01-05 | 1 | -18/+1 |
| | | | Move code from AlsaMixerPlugin. | ||||
* | mixer/alsa: use DeferredMonitor to update file descriptors | Max Kellermann | 2014-01-04 | 1 | -14/+7 |
| | | | | | EventLoop::AddCall() and EventLoop::AddIdle() are unsafe, because we can't cancel those calls. | ||||
* | pcm/PcmVolume: rename to Volume.cxx | Max Kellermann | 2013-12-23 | 1 | -1/+1 |
| | |||||
* | util/Clamp: generic Clamp() function | Max Kellermann | 2013-12-22 | 1 | -2/+2 |
| | |||||
* | Merge branch 'v0.18.x' | Max Kellermann | 2013-12-15 | 1 | -1/+13 |
|\ | |||||
| * | mixer/alsa: fix deadlock | Max Kellermann | 2013-12-15 | 1 | -1/+13 |
| | | | | | | | | | | | | This deadlock was a regression by commit 8e38b4f8. Since we currently can't resolve this, let's revert the commit, and add a GLib specific workaround for the build failure. | ||||
* | | Merge branch 'v0.18.x' | Max Kellermann | 2013-12-14 | 1 | -1/+2 |
|\| | |||||
| * | mixer/alsa: use BlockingCall() instead of EventLoop::AddCall() | Max Kellermann | 2013-12-13 | 1 | -1/+2 |
| | | | | | | | | | | This is safer, and works without epoll(). Fixes a build failure with uClibc, which does not support epoll(). | ||||
* | | include cleanup using iwyu | Max Kellermann | 2013-11-28 | 4 | -11/+4 |
|/ | |||||
* | mixer/software: fix double free bug | Max Kellermann | 2013-10-30 | 1 | -3/+15 |
| | |||||
* | *: use nullptr instead of NULL | Max Kellermann | 2013-10-28 | 2 | -17/+17 |
| | |||||
* | Util/ASCII: add StringEqualsCaseASCII() overload with length | Max Kellermann | 2013-10-21 | 1 | -3/+2 |
| | | | | Replaces GLib's g_ascii_strncasecmp(). | ||||
* | Util/ASCII: add function StringEqualsCaseASCII() | Max Kellermann | 2013-10-20 | 1 | -3/+3 |
| | | | | Replaces GLib's g_ascii_strcasecmp(). | ||||
* | Client, ...: remove unnecessary glib.h include | Max Kellermann | 2013-10-15 | 1 | -2/+0 |
| | |||||
* | Log: new logging library API | Max Kellermann | 2013-10-02 | 4 | -14/+15 |
| | | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | ||||
* | Merge branch 'v0.17.x' | Max Kellermann | 2013-10-01 | 1 | -2/+19 |
|\ | |||||
| * | mixer/alsa: handle ENODEV | Max Kellermann | 2013-10-01 | 1 | -0/+5 |
| | | | | | | | | | | Fixes busy loop when USB sound device gets unplugged (Mantis bug #3824). | ||||
| * | mixer/alsa: log snd_mixer_handle_events() errors | Max Kellermann | 2013-10-01 | 1 | -1/+6 |
| | | |||||
* | | conf.h: remove obsolete header | Max Kellermann | 2013-09-05 | 1 | -1/+0 |
| | | | | | | | | | | Use only ConfigData.hxx in plugin sources to reduce header dependencies. | ||||
* | | util/Error: new error passing library | Max Kellermann | 2013-09-04 | 6 | -124/+102 |
| | | | | | | | | Replaces GLib's GError. | ||||
* | | alsa/mixer: defer InvalidateSockets() call to I/O thread | Max Kellermann | 2013-08-10 | 1 | -1/+2 |
| | | |||||
* | | mixer/alsa: invoke InvalidateSockets() in constructor | Max Kellermann | 2013-08-10 | 1 | -1/+3 |
| | | |||||
* | | event/MultiSocketMonitor: PrepareSockets() returns timeout | Max Kellermann | 2013-08-10 | 1 | -3/+5 |
| | | | | | | | | Simplify the API, don't use GLib specific integer type. | ||||
* | | *: remove remaining __cplusplus checks | Max Kellermann | 2013-08-07 | 1 | -8/+0 |
| | | |||||
* | | mixer/alsa: use AllocatedArray for the pollfd buffer | Max Kellermann | 2013-08-07 | 1 | -3/+5 |
| | | |||||
* | | Makefile.am: move sources to libsystem.a | Max Kellermann | 2013-08-07 | 1 | -1/+1 |
| | | |||||
* | | *: use gcc.h macros instead of GLib | Max Kellermann | 2013-08-04 | 4 | -9/+10 |
| | | |||||
* | | MixerPlugin: pass config_param reference | Max Kellermann | 2013-08-04 | 6 | -19/+19 |
| | | |||||
* | | FilterPlugin: pass config_param reference | Max Kellermann | 2013-08-04 | 1 | -1/+3 |
| | | |||||
* | | tag: convert to C++ | Max Kellermann | 2013-07-30 | 1 | -0/+1 |
| | |