aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
Commit message (Collapse)AuthorAgeFilesLines
* Round up the device's default slot alignmentChris Robinson2012-10-051-1/+1
|
* Ensure the device's default effect slot is properly alignedChris Robinson2012-09-261-2/+2
|
* Help ensure the update size is a multiple of 4 with SSEChris Robinson2012-09-201-0/+5
|
* Use a struct to store the FPU modeChris Robinson2012-09-161-5/+5
|
* Shorten a warningChris Robinson2012-09-141-1/+1
|
* Warn about SSE performance with non-multiple-of-4 update sizesChris Robinson2012-09-111-0/+6
|
* Update HRTF codeChris Robinson2012-09-111-3/+1
| | | | | | | | | | | This update allows for much more flexibility in the HRTF data. It also allows for HRTF table file names to include "%r" to represent the device's playback rate (e.g. if you set hrtf-%r.mhr, then it will try to use hrtf-44100.mhr or hrtf-48000.mhr depending if the device's output rate is 44100 or 48000, respectively). The makehrtf utility has also been updated to support more options and input file formats, as well as the new mhr format.
* Make sure device buffers are 16-byte alignedChris Robinson2012-08-291-7/+7
|
* Add methods to get source properties as doublesChris Robinson2012-08-201-0/+3
|
* Properly export alGetSource3i64SOFTChris Robinson2012-08-201-0/+1
|
* 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
|