8 Commits

Author SHA1 Message Date
Aaron Lindsay
e09e682498 Use a simpler endianness detection for the OpenSL ES backend 2012-03-18 02:34:11 -04:00
Aaron Lindsay
eb37458eb1 Merge branch 'master' of git://repo.or.cz/openal-soft 2012-03-13 22:53:12 -04:00
Chris Robinson
fe6e532c87 Use a separate backend callback to start playback of the device
This allows us to properly update the ALCdevice and its resources with the new
parameters before starting playback, instead of expecting the mixer to block
and wait after it has begun.

This also lets us avoid holding the device lock while resetting and starting
the device, which helps prevent lock inversion on some backends (ie, one thread
locking A then B, and another thread locking B then A), ultimately allowing
certain backends to asynchronously update the ALCdevice without risk of lockup.
Capture still has issues here, however.
2012-03-05 07:11:09 -08:00
Chris Robinson
e2ccc6f98e Always use "OpenAL Soft" for the short device enumeration list 2012-02-20 20:45:22 -08:00
Aaron Lindsay
55d7fa9a85 Clean up that OpenSL ES 1.1 endianness check a bit 2011-09-21 02:02:05 -04:00
Aaron Lindsay
651f52df12 OpenSL backend now works on both OpenSL ES 1.0.1 (android-9) and 1.1 2011-09-21 01:52:04 -04:00
Chris Robinson
c696d4dbb2 Return an ALC error enum from the OpenPlayback backend method 2011-08-24 14:24:48 -07:00
Chris Robinson
9989f33fc2 Move backend sources to a separate sub-directory 2011-08-20 00:41:47 -07:00