aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/OpenALOutputPlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-12-02output/openal: check __APPLE__ instead of HAVE_OSXLukas Stabe1-1/+1
On OSX, the configure-flag --enable-osx is used to enable the unsupported osx output. It sets the HAVE_OSX preprocessor define. src/output/OpenALOutputPlugin.cxx uses this define to determine wether it is building on OSX, and imports different headers (which have nothing to do with the osx output) depending on wether or not it is set.
2013-10-02Log: new logging library APIMax Kellermann1-3/+0
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-04util/Error: new error passing libraryMax Kellermann1-23/+17
Replaces GLib's GError.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-4/+5
2013-08-04OutputPlugin: pass config_param referenceMax Kellermann1-4/+3
2013-08-03audio_format: convert to C++Max Kellermann1-10/+10
2013-07-30output_api: convert to C++Max Kellermann1-1/+1
2013-04-17output/openal: convert to C++Max Kellermann1-35/+50
2011-12-13output/openal: improve synchronizationMax Kellermann1-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.
2011-12-13output/openal: move code to inline functionsMax Kellermann1-9/+25
2011-12-13output/openal: use alGetSourcei(AL_BUFFER) to force-unqueue buffersMax Kellermann1-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.
2011-12-13output/openal: make attribute "filled" unsignedMax Kellermann1-1/+1
2011-12-13output/openal: remove bogus format check from _open()Max Kellermann1-8/+0
The expression "!format" does not make sense, and cannot occur.
2011-09-19output_plugin: the plugin allocates the audio_output objectMax Kellermann1-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.
2011-09-17output: per-plugin headerMax Kellermann1-0/+1
Move the "extern" declarations from output_list.c, for more type safety.
2011-09-17output: rename plugin source filesMax Kellermann1-0/+0
2011-08-27rename 'Timer' to 'struct timer'Jonathan Neuschäfer1-1/+1
2011-01-29copyright year 2011Max Kellermann1-1/+1
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-12-02audio_format: changed "bits" to "enum sample_format"Max Kellermann1-8/+12
This patch prepares support for floating point samples (and probably other formats). It changes the meaning of the "bits" attribute from a bit count to a symbolic value.
2009-11-15output/openal: use audio_format_to_string()Max Kellermann1-3/+3
2009-11-12include config.h in all sourcesMax Kellermann1-2/+2
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
2009-09-07output/openal: support OpenAL plugin on Mac OS XSerge Ziryukin1-0/+6
2009-09-06output/openal: fix default device nameSerge Ziryukin1-3/+3
2009-09-06openal output pluginSerge Ziryukin1-0/+267