aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_control.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* audio_output: workaround for deadlockMax Kellermann2008-09-261-0/+9
| | | | | | | | During debugging, I found a deadlock between flushAudioBuffer() and the audio_output_task(): audio_output_task() didn't notice that there is a command, and flushAudioBuffer() waited forever in notify_wait(). I am not sure yet what is the real cause; work around this for now by waking up non-finished audio outputs in every iteration.
* output: semi-asynchronous playbackMax Kellermann2008-09-241-2/+2
| | | | | | | Send an output buffer to all output plugins at the same time, instead of waiting for each of them separately. Make several functions non-blocking, and introduce the new function audio_output_wait_all() to synchronize with all audio output threads.
* output: renamed the functions in output_control.cMax Kellermann2008-09-091-10/+10
| | | | Getting rid of CamcelCase, again.
* output: moved code from audioOutput.c to output_control.cMax Kellermann2008-09-091-0/+41
Similar to decoder_control.c, output_control.c will provide functions for controlling the output thread (which will be implemented later).