aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/openal_output_plugin.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* output/openal: improve synchronizationMax Kellermann2011-12-131-13/+16
| | | | | | | | | This plugin's use of the "Timer" library was wrong; it added the same amount of virtual data in every iteration in _play(), but did not actually play something. This created an artificial, but useless, delay. This patch implements the method _cancel(), and implements hard-coded sleep values. This is only slightly better, but does not attempt to look sane.
* output/openal: move code to inline functionsMax Kellermann2011-12-131-9/+25
|
* output/openal: use alGetSourcei(AL_BUFFER) to force-unqueue buffersMax Kellermann2011-12-131-14/+4
| | | | | | | | The implementation of cancel() did not work well: you cannot use alSourceUnqueueBuffers() to unqueue queued buffers, and our function openal_unqueue_buffers() left the OpenAL library in a rather undefined state; nothing was supposed to be queued, but the "filled" variable was not reset.
* output/openal: make attribute "filled" unsignedMax Kellermann2011-12-131-1/+1
|
* output/openal: remove bogus format check from _open()Max Kellermann2011-12-131-8/+0
| | | | The expression "!format" does not make sense, and cannot occur.
* Merge branch 'v0.16.x'Max Kellermann2011-12-131-10/+4
| | | | | | Conflicts: NEWS configure.ac
* Merge branch 'v0.16.x'Max Kellermann2011-10-081-9/+9
|
* output_plugin: the plugin allocates the audio_output objectMax Kellermann2011-09-191-15/+21
| | | | | | 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.
* output: per-plugin headerMax Kellermann2011-09-171-0/+1
| | | | | Move the "extern" declarations from output_list.c, for more type safety.
* output: rename plugin source filesMax Kellermann2011-09-171-0/+277