aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
Commit message (Collapse)AuthorAgeFilesLines
* Use a default method to provide a dummy latencyChris Robinson2012-08-191-0/+5
|
* Move the device lock into the backend function tableChris Robinson2012-08-181-7/+16
| | | | | For backend-specific implementations: this should hold the audio mixer loop for playback devices, and provide recursive mutex behavior.
* Keep the backend device open until the last reference is releasedChris Robinson2012-08-181-4/+5
| | | | | | This should generally happen with the next ALCdevice_DecRef call unless the device is in the middle of being used in another thread, in which case it's probably best to not remove the resources.
* Add the start of AL_SOFT_source_latencyChris Robinson2012-08-181-0/+3
| | | | | This extension will provide a way for apps to get accurate latency and playback position information
* Add a device method to retrieve the active latencyChris Robinson2012-08-171-1/+1
| | | | | This is effectively the time until the next update will be heard by the user, or the closest approximation thereof, in nanoseconds.
* Add cmake options to disable or require support for CPU extensionsChris Robinson2012-08-151-1/+7
|
* Add an SSE-enhanced HRTF mixer using intrinsicsChris Robinson2012-08-141-1/+3
| | | | Not as good as it could be, but it's something
* Add a config option to disable use of CPU extensionsChris Robinson2012-08-131-1/+31
|
* Check for some CPU extensionsChris Robinson2012-08-131-0/+1
|
* Handle the scalar values a bit betterChris Robinson2012-08-111-2/+2
|
* Add an option for wide stereo sourcesChris Robinson2012-08-091-0/+4
| | | | Replaces the old stereodup option
* Use wrappers for float-typed math functionsChris Robinson2012-06-291-1/+1
|
* Don't use all caps for enum value namesChris Robinson2012-06-281-43/+43
|
* Don't needlessly verify a deviceChris Robinson2012-06-191-5/+6
|
* Rename AllDevice -> AllDevicesChris Robinson2012-05-091-19/+19
|
* Remove the stereodup optionChris Robinson2012-04-291-17/+0
| | | | There's better ways to do it now with "wide" sound sources.
* Reorganize some ALsource fieldsChris Robinson2012-04-271-2/+2
|
* Use a macro to declare the function and enum list membersChris Robinson2012-04-201-447/+451
|
* Combine ALCenum and ALenum listsChris Robinson2012-04-201-5/+263
|
* Reorganize ALC functions and fixup some commentsChris Robinson2012-04-201-392/+407
|
* Remove some more hungarian notationChris Robinson2012-04-191-38/+38
|
* Remove some more hungarian notationChris Robinson2012-04-191-30/+30
|
* Remove hungarian notation from the device and context structsChris Robinson2012-04-191-9/+9
|
* Read ALSOFT_TRAP_*ERROR when reading the configChris Robinson2012-04-161-21/+17
|
* Don't error when querying unknown enums for the channel config and sample formatChris Robinson2012-03-151-3/+2
|
* Finalize ALC_SOFT_loopbackChris Robinson2012-03-151-2/+2
|
* Mark the GlobalContext pointer as volatileChris Robinson2012-03-141-1/+1
|
* Initialize the default effect after opening the deviceChris Robinson2012-03-131-11/+16
|
* Rename GetReverbEffect to LoadReverbPresetChris Robinson2012-03-131-4/+2
|
* Use enums to specify the default channel configuration and sample typeChris Robinson2012-03-131-5/+5
|
* Initialize the default effect when opening the device and update it with the ↵Chris Robinson2012-03-131-5/+18
| | | | other effect slots
* Pass the device to InitializeEffect and return the error enum from itChris Robinson2012-03-131-1/+1
|
* Pass a device to the effect update functionsChris Robinson2012-03-131-1/+1
|
* Rename ForcedEffect to DefaultEffectChris Robinson2012-03-131-6/+6
|
* Finalize AL_SOFT_direct_channelsChris Robinson2012-03-121-1/+1
|
* Pin the DLL for WindowsChris Robinson2012-03-081-2/+4
| | | | | | | | The mmdevapi backend does not react well to being unloaded dynamically. It has a message-handling thread running in the background which can't quit before DllMain is called with DLL_PROCESS_DETACH, at which point it's too late to safely message and wait for it shutddown, thus it can continue running after the DLL is unloaded from memory.
* 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
|