Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-01-29 | OutputThread: move more functions into the AudioOutput class | Max Kellermann | 1 | -0/+45 | |
2014-01-29 | output: rename "chunk" to "current_chunk" | Max Kellermann | 1 | -5/+6 | |
2014-01-29 | output: move functions into the AudioOutput struct | Max Kellermann | 1 | -16/+101 | |
2014-01-29 | AudioOutput: make "plugin" a reference | Max Kellermann | 1 | -1/+1 | |
2014-01-29 | AudioOutput: pass plugin to constructor | Max Kellermann | 1 | -3/+2 | |
Make it "const". | |||||
2014-01-28 | AudioOutput: add constructor and destructor | Max Kellermann | 1 | -3/+3 | |
2014-01-28 | output: rename source files | Max Kellermann | 1 | -0/+0 | |
2014-01-28 | output: rename struct audio_output to AudioOutput | Max Kellermann | 1 | -7/+7 | |
2014-01-28 | OutputPlugin: rename struct audio_output_plugin to AudioOutputPlugin | Max Kellermann | 1 | -2/+3 | |
2014-01-23 | output/*: move to output/plugins/ | Max Kellermann | 1 | -0/+0 | |
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2013-12-28 | pcm/PcmMix: improved dithering | Max Kellermann | 1 | -0/+6 | |
Use the existing PcmDither library. | |||||
2013-11-25 | Volume, Output: use new class PeriodClock instead of GTimer | Max Kellermann | 1 | -4/+2 | |
2013-11-06 | OutputControl: reduce the number of OutputThread wakeups | Max Kellermann | 1 | -0/+15 | |
Wake up the OutputThread only if it hasn't already been woken up and if it isn't already in the playback loop. | |||||
2013-10-28 | player_control: rename to PlayerControl | Max Kellermann | 1 | -3/+4 | |
2013-10-19 | *: use references instead of pointers | Max Kellermann | 1 | -1/+1 | |
2013-10-19 | *: use nullptr instead of NULL | Max Kellermann | 1 | -3/+3 | |
2013-10-17 | Thread/Thread: replacement library for GThread | Max Kellermann | 1 | -2/+2 | |
2013-09-27 | DecoderControl: use GLib forward declarations | Max Kellermann | 1 | -2/+2 | |
2013-09-26 | MusicPipe: expose the C++ API | Max Kellermann | 1 | -1/+2 | |
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -2/+3 | |
Replaces GLib's GError. | |||||
2013-08-04 | OutputPlugin: pass config_param reference | Max Kellermann | 1 | -2/+2 | |
2013-08-03 | audio_format: convert to C++ | Max Kellermann | 1 | -4/+4 | |
2013-07-30 | pcm_buffer: convert to C++ | Max Kellermann | 1 | -2/+2 | |
2013-04-17 | OutputInternal: use Mutex instead of GMutex | Max Kellermann | 1 | -2/+4 | |
2013-04-17 | output: convert to C++ | Max Kellermann | 1 | -20/+3 | |
2013-04-16 | MixerInternal: convert to class | Max Kellermann | 1 | -0/+4 | |
2013-04-09 | pcm_*: move to src/pcm/ | Max Kellermann | 1 | -1/+1 | |
2013-02-02 | FilterInternal: convert struct filter to a OO interface | Max Kellermann | 1 | -4/+10 | |
2013-01-15 | output_internal, ...: add extern "C" | Max Kellermann | 1 | -0/+8 | |
2012-09-25 | output: new option "tags" may be used to disable sending tags | Max Kellermann | 1 | -0/+7 | |
Implements Mantis ticket 0003340. | |||||
2011-09-19 | output_plugin: the plugin allocates the audio_output object | Max Kellermann | 1 | -7/+16 | |
Pass audio_output objects around instead of void pointers. This will give some more control to the plugin, and prepares for non-blocking audio outputs. | |||||
2011-09-01 | output_thread: reimplement CANCEL synchronization | Max Kellermann | 1 | -0/+9 | |
The output thread could hang indefinitely after finishing CANCEL, because it could have missed the signal while the output was not unlocked in ao_command_finished(). This patch removes the wait() call after CANCEL, and adds the flag "allow_play" instead. While this flag is set, playback is skipped. With this flag, there will not be any excess wait() call after the pipe has been cleared. This patch fixes a bug that causes mpd to discontinue playback after seeking, due to the race condition described above. | |||||
2011-08-30 | output_control: move code to audio_output_destruct() | Max Kellermann | 1 | -0/+3 | |
.. and destruct the output object properly in test/run_output. | |||||
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2011-01-10 | player_control: removed the global variable "pc" | Max Kellermann | 1 | -0/+6 | |
Allocate a player_control object where needed, and pass it around. Each "client" object is associated with a "player_control" instance. This prepares multi-player support. | |||||
2010-11-04 | output_internal: protect attribute "fail_timer" with mutex | Max Kellermann | 1 | -1/+2 | |
2010-05-02 | output_thread: call replay gain filter manually | Max Kellermann | 1 | -0/+13 | |
Don't add it to the filter chain, because we need to apply replay gain before cross-fading with the next song. Add a second replay_gain filter which is used for the song being faded in (chunk->other). | |||||
2010-05-02 | player_thread: move cross-fading to output thread | Max Kellermann | 1 | -0/+6 | |
Remove cross_fade_apply(), and call pcm_mix() in the output thread, mixing the chunk and chunk->other together. | |||||
2010-03-10 | output: added option "always_on" for radio stations | Max Kellermann | 1 | -0/+6 | |
Did you ever accidently click "stop" while feeding a radio station? This option sets the output device to "pause" to disable the "close" method. It falls back to "pause" then, which is specific to the plugin. Some plugins implement it by feeding silence. | |||||
2010-02-17 | replay_gain: reimplement as a filter plugin | Max Kellermann | 1 | -0/+12 | |
Apply the replay gain in the output thread. This means a new setting will be active instantly, without going through the whole music pipe. And we might have different replay gain settings for each audio output device. | |||||
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-11-09 | output_thread: added command DRAIN | Max Kellermann | 1 | -0/+7 | |
This command manually drains the hardware buffer. This is useful when the player thread want to make sure that everything has been played. | |||||
2009-10-29 | output: consistently lock audio output objects | Max Kellermann | 1 | -6/+8 | |
Always keep the audio_output object locked within the output thread, unless a plugin method is called. This fixes several race conditions. | |||||
2009-10-23 | output_plugin: added methods enable() and disable() | Max Kellermann | 1 | -0/+8 | |
With these methods, an output plugin can allocate some global resources only if it is actually enabled. The method enable() is called after daemonization, which allows for more sophisticated resource allocation during that method. | |||||
2009-10-21 | output: convert config_audio_format to an audio_format struct | Max Kellermann | 1 | -6/+5 | |
This allows more sophisticated audio format selection. | |||||
2009-08-14 | output: fixed shout stuck pause bug | Max Kellermann | 1 | -0/+6 | |
Explicitly make the output thread leave the ao_pause() loop. This patch is a workaround, and the "pause" flag is not managed in a thread-safe way, but that's good enough for now. | |||||
2009-07-06 | output: attach a filter chain to each audio_output | Max Kellermann | 1 | -2/+13 | |
This patch adds initial filter support for audio outputs. Each audio output gets a "filter" attribute, which is used by ao_play_chunk(). The PCM conversion is now performed by convert_filter_plugin. audio_output.convert_state has been removed. | |||||
2009-07-06 | output: added command REOPEN | Max Kellermann | 1 | -0/+7 | |
REOPEN is called when the input audio format changes. The output thread may be reconfigure the PCM converter. | |||||
2009-03-26 | output_plugin: replaced output_plugin.get_mixer() with mixer_plugin | Max Kellermann | 1 | -0/+7 | |
The mixer core library is now responsible for creating and managing the mixer object. This removes duplicated code from the output plugins. |