aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/panning.c
Commit message (Collapse)AuthorAgeFilesLines
* Update the layout config option namesChris Robinson2012-03-011-6/+6
|
* Use an enum for the device typeChris Robinson2012-02-231-1/+1
|
* Always use the default speaker layout for loopback devicesChris Robinson2012-02-071-6/+10
|
* Change the default stereo speaker positions to match the stereo channel ↵Chris Robinson2012-02-041-2/+2
| | | | | | | | | positions A separate "headphones" configuration may be nice to add for -90,+90, however not many audio APIs can detect this. Ideally HRTF would be used with headphones too, which largely ignores the speaker positions, however there could be situations where this is unfeasible or unwanted.
* Use the square root to build the panning table instead of sin/cosChris Robinson2011-10-101-8/+8
|
* Use macros for float-typed PI values, to avoid manual casts everywhereChris Robinson2011-09-221-39/+39
|
* More MSVC precision castsChris Robinson2011-09-221-40/+40
|
* Use cosf and sinf when availableChris Robinson2011-09-221-4/+4
| | | | Also clear away a few more MSVC precision warnings
* Add a ConfigValueStr function, to return the string through a parameterChris Robinson2011-09-191-8/+6
|
* Print an error for invalid speaker layout keysChris Robinson2011-08-281-0/+3
|
* Rename the ERROR macro to ERRChris Robinson2011-07-131-2/+2
|
* Replace some AL_PRINT calls with proper loggingChris Robinson2011-07-101-2/+2
|
* Get rid of a couple typedefsChris Robinson2011-07-021-4/+4
|
* Add a 5.1 device format that uses side channels instead of backChris Robinson2011-05-281-0/+15
|
* Use a multi-dimensional array for the panning LUTChris Robinson2011-05-211-10/+9
|
* Remove the device channel matrixChris Robinson2011-05-061-71/+1
|
* Fix LFE channel outputChris Robinson2011-04-141-0/+3
|
* Only set relevant device matrix entriesChris Robinson2011-04-121-30/+35
|
* Invert the device matrix row/columnChris Robinson2011-03-131-37/+37
| | | | It is accessed now as mat[target][source]
* Re-enable channel-config-specific layout optionsChris Robinson2011-01-231-5/+8
|
* Separate device format into 'channel config' and 'sample type' componentsChris Robinson2010-12-041-22/+7
|
* Rename OUTPUTCHANNELS to something more descriptiveChris Robinson2010-12-011-12/+12
|
* Uninline some functionsChris Robinson2010-11-281-0/+14
| | | | Also add -Winline to the compiler command line to watch for future inline problems
* Duplicate stereo sources by defaultChris Robinson2010-09-221-1/+0
| | | | | The mixer is smart enough now to handle proper volume adjustments depending on the number of output speakers
* Panning init cleanupChris Robinson2010-08-071-47/+46
|
* Separate speaker/panning initialization into another source fileChris Robinson2010-08-031-0/+361