aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Mark the device as running for capture, tooChris Robinson2012-03-051-2/+7
|
* Hold the list lock while calling the backendChris Robinson2012-03-051-11/+16
| | | | Pretty ugly, but we mustn't hold the device lock
* Use a separate backend callback to start playback of the deviceChris Robinson2012-03-051-11/+9
| | | | | | | | | | | | 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.
* Avoid some uninitialized warningsChris Robinson2012-03-051-0/+3
|
* Enforce range limits on periods and period_size.Chris Robinson2012-03-041-2/+2
|
* Make sure the device gets stopped when closing even if there's no contextsChris Robinson2012-03-021-7/+7
|
* Make alcLoopbackOpenDeviceSOFT take a standard "device" name for a parameterChris Robinson2012-03-011-5/+6
|
* Give "OpenAL Soft" for the standard device nameChris Robinson2012-02-281-8/+10
|
* Trace the name of the created deviceChris Robinson2012-02-271-1/+1
|
* Use separate loops for getting and checking device attributesChris Robinson2012-02-251-42/+70
|
* Use an enum for the device typeChris Robinson2012-02-231-26/+23
|
* Only probe for devices when a backend is loadedChris Robinson2012-02-201-3/+3
|
* Always use "OpenAL Soft" for the short device enumeration listChris Robinson2012-02-201-30/+7
|
* Remove the trailing double-underscore from a couple env varsChris Robinson2012-02-191-4/+4
|
* Check for the ALSOFT_DRIVERS env var for a list of backend driversChris Robinson2012-02-191-1/+2
| | | | This overrides the 'drivers' config option
* Add a COUNTOF macro to get the number of entries in a static arrayChris Robinson2012-02-191-7/+7
|
* Fix a misnamed variableChris Robinson2012-02-191-5/+5
|
* Print a warning if using the 'format' config optionChris Robinson2012-02-191-46/+49
|
* Only set a default slot for non-NULL effect typesChris Robinson2012-02-181-3/+6
|
* Add a device parameter to alcLoopbackOpenDeviceSOFTChris Robinson2012-02-151-3/+9
|
* Add a device request flag for the sample typeChris Robinson2012-02-151-6/+17
|
* Separate the format config option into channels and sample-typeChris Robinson2012-02-151-51/+102
|
* Define a minimum output sample rate and warn if the config option goes below itChris Robinson2012-02-151-4/+8
|
* Combine a couple if checksChris Robinson2012-02-151-9/+5
|
* Support signed and unsigned 32-bit int outputChris Robinson2012-02-141-0/+4
|
* Use more proper enum names for the resamplerChris Robinson2012-02-121-4/+4
|
* Rename non_virtual_channels to direct_channelsChris Robinson2012-02-091-2/+1
|
* Don't enable BS2B for loopback devicesChris Robinson2012-02-071-2/+0
|
* Use an enum for static const valuesChris Robinson2012-01-311-4/+6
|
* Only initialize the default reverb effect when a slot is availableChris Robinson2012-01-291-1/+2
|
* Make sure context attributes are specified for loopback devicesChris Robinson2012-01-261-0/+6
|
* Make sure InitializeEffect on the default slot doesn't set a context errorChris Robinson2012-01-261-0/+1
|
* Return the error code from UpdateDeviceParamsChris Robinson2012-01-251-22/+14
|
* Make sure the attributes list specifies a format for loopback devicesChris Robinson2012-01-251-3/+19
|
* Avoid duplicating some initialization codeChris Robinson2012-01-201-13/+3
|
* Not all devices will have a default effect slotChris Robinson2012-01-201-2/+5
|
* Remove an unnecessary else statementChris Robinson2012-01-201-41/+38
|
* Add a default-reverb config option, and rename __ALSOFT_FORCE_REVERB to matchChris Robinson2012-01-201-1/+3
|
* Add the ability to specify a preset for forced reverbChris Robinson2012-01-191-1/+1
|
* Add a global option to apply a reverb effect on source send 0Chris Robinson2012-01-191-1/+28
| | | | | | A special slot on the device is created and processed, so it can be shared across all contexts on the device. Sources that don't have a slot set on send 0 will use this special slot instead.
* Report parameter request changes in UpdateDeviceParamsChris Robinson2012-01-171-18/+44
|
* Change the default output format to 32-bit floatChris Robinson2012-01-171-1/+1
|
* Safely insert the new context into the listChris Robinson2012-01-121-2/+3
|
* Finalize AL_SOFT_buffer_samplesChris Robinson2012-01-101-1/+1
|
* Make LockDevice, LockContext, etc, inlineChris Robinson2012-01-091-21/+0
|
* Remove the warning when a context being released is globally currentChris Robinson2012-01-011-3/+0
| | | | | | Just about every implementation allows this, and there's no direct harm caused by it. However, leave the warnings for when it's still current on specific threads, as this can cause issues.
* Use the device lock when removing the context from the device's listChris Robinson2012-01-011-9/+2
|
* Use a proper typedef for handling atomic pointer swapsChris Robinson2012-01-011-6/+6
|
* Use a string to specify the resampler config optionChris Robinson2011-12-201-4/+18
|
* Restore the old FPU mode if the effects fail to update with new device ↵Chris Robinson2011-12-201-0/+1
| | | | parameters