aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a 5.1 device format that uses side channels instead of backChris Robinson2011-05-281-0/+11
|
* Clear HRTF coefficients for the LFE channelChris Robinson2011-05-251-1/+9
|
* Avoid using an unnecessary temp variableChris Robinson2011-05-211-7/+4
|
* Use a multi-dimensional array for the panning LUTChris Robinson2011-05-211-3/+3
|
* Use the stored sample and channel countChris Robinson2011-05-211-4/+4
|
* Store the separate effect parameters in a unionChris Robinson2011-05-201-3/+3
|
* Always fully normalize the position when using HRTFChris Robinson2011-05-201-9/+18
|
* Fix HRTF elevation calculationChris Robinson2011-05-191-1/+1
|
* Combine multiple loopsChris Robinson2011-05-151-208/+36
|
* Re-enable duplication for stereo soundsChris Robinson2011-05-151-0/+19
|
* Make a couple more pointers restrictedChris Robinson2011-05-071-2/+3
|
* Some minor cleanupsChris Robinson2011-05-071-6/+6
|
* Add an option to reverse Z panning of mono sourcesChris Robinson2011-05-071-3/+3
| | | | | | | | | | | Applications that are not built around OpenAL's orientation system need to convert their given vectors to it. Depending on how this is done, it can lead to proper stereo (left-right) panning with improper surround sound (front-back) panning, which thusly sounds correct with stereo output and incorrect with 4+ channel output. This option is intended to help fix playback of such applications on surround sound systems, without having to resort to forcing stereo output.
* Combine duplicate arraysChris Robinson2011-05-061-64/+31
|
* Skip LFE with HRTF outputChris Robinson2011-05-061-0/+9
|
* Use the panning algorithms to build the multi-channel source matrixChris Robinson2011-05-061-92/+132
| | | | | This prevents the stereo-duplication option from working. It should hopefully be restored soon.
* Remove some redundancyChris Robinson2011-05-061-6/+5
|
* Minor source update fixesChris Robinson2011-05-061-3/+3
|
* Remove the head_dampen optionChris Robinson2011-05-061-14/+0
| | | | Now that HRTF is properly supported, it's not needed
* Mark a couple more pointers as restrictedChris Robinson2011-05-061-2/+3
|
* Use the same filters for mono sources and multi-channelChris Robinson2011-05-031-8/+3
|
* Fix non-spatialized mono sourcesChris Robinson2011-05-021-1/+15
|
* Implement HRTF mixers for multi-channel sourcesChris Robinson2011-05-021-43/+178
|
* Use flags instead of separate boolsChris Robinson2011-05-011-4/+2
|
* Add an HRTF filter for mono sourcesChris Robinson2011-05-011-15/+33
| | | | | | | | | | The data is based on the KEMAR HRTF data provided by MIT, which can be found at <http://sound.media.mit.edu/resources/KEMAR.html>. The compact measurements were used. See hrtf_tables.inc for more information. The filter is only available for stereo output, using a 44100hz playback rate. Note also that it currently only applies to mono sounds, and the cf_level and head_dampen config options are ignored while it is active.
* Add a compatibility option to treat cone angles as half anglesChris Robinson2011-04-221-2/+2
| | | | | | | | | | All previous versions of the library treated the source cone angles as half angles, which is contrary to the spec. Setting the __ALSOFT_HALF_ANGLE_CONES environment variable to "true" or "1" restores the buggy behavior for compatibility with applications that expect it. This is not a config file option because new apps should not be made to depend on the old behavior.
* Convert full-width cone angle source properties to half-widthChris Robinson2011-04-221-3/+3
| | | | | | The spec intends the property values to be the full angle encompassed by the cones, but the calculation interprets them as the angle from the center point.
* Apply the device matrix to the multi-channel source matrixChris Robinson2011-04-141-72/+74
| | | | | | | Mono sources and effects already output according to the available output device channels. Multiplying the device matrix with the source matrix results in a matrix that has the same effect as applying the source matrix followed by the device matrix, so all the channel remixing can be done in one place.
* Invert the device matrix row/columnChris Robinson2011-03-131-4/+4
| | | | It is accessed now as mat[target][source]
* Remove more unneeded castsChris Robinson2011-03-131-5/+5
|
* Remove unnecessary castsChris Robinson2011-03-131-2/+2
|
* Use a matrix when rendering to the dry bufferChris Robinson2010-12-091-28/+78
|
* Make better use of the type range when converting from floatChris Robinson2010-12-091-22/+14
|
* Remove some now-unused functionsChris Robinson2010-12-081-106/+0
|
* Separate device format into 'channel config' and 'sample type' componentsChris Robinson2010-12-041-37/+26
|
* Add functions to write (signed) byte and ushort samples to devicesChris Robinson2010-12-021-1/+34
|
* Template-ize the device buffer writing functionsChris Robinson2010-12-011-83/+144
|
* Rename OUTPUTCHANNELS to something more descriptiveChris Robinson2010-12-011-13/+13
|
* Reorder some parameters for consistencyChris Robinson2010-11-291-4/+4
|
* Uninline some functionsChris Robinson2010-11-281-0/+106
| | | | Also add -Winline to the compiler command line to watch for future inline problems
* Rename some stuff for consistencyChris Robinson2010-11-281-2/+2
|
* Don't store the internal format in the bufferChris Robinson2010-11-281-4/+4
| | | | The type and channel config are good enough
* Use the enums in a couple more placesChris Robinson2010-11-271-4/+4
|
* Fix step calculationsChris Robinson2010-11-261-4/+0
|
* Fix some commentsChris Robinson2010-11-261-4/+5
|
* Properly clamp high pitch valuesChris Robinson2010-11-261-24/+35
|
* Make a FRACTIONONE macro, and use itChris Robinson2010-11-261-4/+4
|
* Slightly improve channel gain calculationsChris Robinson2010-11-261-2/+2
|
* Call MixSource directly, instead of through a function pointerChris Robinson2010-11-251-1/+1
|
* Reorder some stored source paramsChris Robinson2010-11-241-3/+3
|