Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a 5.1 device format that uses side channels instead of back | Chris Robinson | 2011-05-28 | 1 | -0/+11 |
| | |||||
* | Clear HRTF coefficients for the LFE channel | Chris Robinson | 2011-05-25 | 1 | -1/+9 |
| | |||||
* | Avoid using an unnecessary temp variable | Chris Robinson | 2011-05-21 | 1 | -7/+4 |
| | |||||
* | Use a multi-dimensional array for the panning LUT | Chris Robinson | 2011-05-21 | 1 | -3/+3 |
| | |||||
* | Use the stored sample and channel count | Chris Robinson | 2011-05-21 | 1 | -4/+4 |
| | |||||
* | Store the separate effect parameters in a union | Chris Robinson | 2011-05-20 | 1 | -3/+3 |
| | |||||
* | Always fully normalize the position when using HRTF | Chris Robinson | 2011-05-20 | 1 | -9/+18 |
| | |||||
* | Fix HRTF elevation calculation | Chris Robinson | 2011-05-19 | 1 | -1/+1 |
| | |||||
* | Combine multiple loops | Chris Robinson | 2011-05-15 | 1 | -208/+36 |
| | |||||
* | Re-enable duplication for stereo sounds | Chris Robinson | 2011-05-15 | 1 | -0/+19 |
| | |||||
* | Make a couple more pointers restricted | Chris Robinson | 2011-05-07 | 1 | -2/+3 |
| | |||||
* | Some minor cleanups | Chris Robinson | 2011-05-07 | 1 | -6/+6 |
| | |||||
* | Add an option to reverse Z panning of mono sources | Chris Robinson | 2011-05-07 | 1 | -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 arrays | Chris Robinson | 2011-05-06 | 1 | -64/+31 |
| | |||||
* | Skip LFE with HRTF output | Chris Robinson | 2011-05-06 | 1 | -0/+9 |
| | |||||
* | Use the panning algorithms to build the multi-channel source matrix | Chris Robinson | 2011-05-06 | 1 | -92/+132 |
| | | | | | This prevents the stereo-duplication option from working. It should hopefully be restored soon. | ||||
* | Remove some redundancy | Chris Robinson | 2011-05-06 | 1 | -6/+5 |
| | |||||
* | Minor source update fixes | Chris Robinson | 2011-05-06 | 1 | -3/+3 |
| | |||||
* | Remove the head_dampen option | Chris Robinson | 2011-05-06 | 1 | -14/+0 |
| | | | | Now that HRTF is properly supported, it's not needed | ||||
* | Mark a couple more pointers as restricted | Chris Robinson | 2011-05-06 | 1 | -2/+3 |
| | |||||
* | Use the same filters for mono sources and multi-channel | Chris Robinson | 2011-05-03 | 1 | -8/+3 |
| | |||||
* | Fix non-spatialized mono sources | Chris Robinson | 2011-05-02 | 1 | -1/+15 |
| | |||||
* | Implement HRTF mixers for multi-channel sources | Chris Robinson | 2011-05-02 | 1 | -43/+178 |
| | |||||
* | Use flags instead of separate bools | Chris Robinson | 2011-05-01 | 1 | -4/+2 |
| | |||||
* | Add an HRTF filter for mono sources | Chris Robinson | 2011-05-01 | 1 | -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 angles | Chris Robinson | 2011-04-22 | 1 | -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-width | Chris Robinson | 2011-04-22 | 1 | -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 matrix | Chris Robinson | 2011-04-14 | 1 | -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/column | Chris Robinson | 2011-03-13 | 1 | -4/+4 |
| | | | | It is accessed now as mat[target][source] | ||||
* | Remove more unneeded casts | Chris Robinson | 2011-03-13 | 1 | -5/+5 |
| | |||||
* | Remove unnecessary casts | Chris Robinson | 2011-03-13 | 1 | -2/+2 |
| | |||||
* | Use a matrix when rendering to the dry buffer | Chris Robinson | 2010-12-09 | 1 | -28/+78 |
| | |||||
* | Make better use of the type range when converting from float | Chris Robinson | 2010-12-09 | 1 | -22/+14 |
| | |||||
* | Remove some now-unused functions | Chris Robinson | 2010-12-08 | 1 | -106/+0 |
| | |||||
* | Separate device format into 'channel config' and 'sample type' components | Chris Robinson | 2010-12-04 | 1 | -37/+26 |
| | |||||
* | Add functions to write (signed) byte and ushort samples to devices | Chris Robinson | 2010-12-02 | 1 | -1/+34 |
| | |||||
* | Template-ize the device buffer writing functions | Chris Robinson | 2010-12-01 | 1 | -83/+144 |
| | |||||
* | Rename OUTPUTCHANNELS to something more descriptive | Chris Robinson | 2010-12-01 | 1 | -13/+13 |
| | |||||
* | Reorder some parameters for consistency | Chris Robinson | 2010-11-29 | 1 | -4/+4 |
| | |||||
* | Uninline some functions | Chris Robinson | 2010-11-28 | 1 | -0/+106 |
| | | | | Also add -Winline to the compiler command line to watch for future inline problems | ||||
* | Rename some stuff for consistency | Chris Robinson | 2010-11-28 | 1 | -2/+2 |
| | |||||
* | Don't store the internal format in the buffer | Chris Robinson | 2010-11-28 | 1 | -4/+4 |
| | | | | The type and channel config are good enough | ||||
* | Use the enums in a couple more places | Chris Robinson | 2010-11-27 | 1 | -4/+4 |
| | |||||
* | Fix step calculations | Chris Robinson | 2010-11-26 | 1 | -4/+0 |
| | |||||
* | Fix some comments | Chris Robinson | 2010-11-26 | 1 | -4/+5 |
| | |||||
* | Properly clamp high pitch values | Chris Robinson | 2010-11-26 | 1 | -24/+35 |
| | |||||
* | Make a FRACTIONONE macro, and use it | Chris Robinson | 2010-11-26 | 1 | -4/+4 |
| | |||||
* | Slightly improve channel gain calculations | Chris Robinson | 2010-11-26 | 1 | -2/+2 |
| | |||||
* | Call MixSource directly, instead of through a function pointer | Chris Robinson | 2010-11-25 | 1 | -1/+1 |
| | |||||
* | Reorder some stored source params | Chris Robinson | 2010-11-24 | 1 | -3/+3 |
| |