aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove an unnecessary union containerChris Robinson2014-11-223-10/+8
|
* Move a warning check earlierChris Robinson2014-11-221-8/+8
|
* Use a different method for HRTF mixingChris Robinson2014-11-2215-558/+198
| | | | | | | | | | | | | | | | | | | | | | | This new method mixes sources normally into a 14-channel buffer with the channels placed all around the listener. HRTF is then applied to the channels given their positions and written to a 2-channel buffer, which gets written out to the device. This method has the benefit that HRTF processing becomes more scalable. The costly HRTF filters are applied to the 14-channel buffer after the mix is done, turning it into a post-process with a fixed overhead. Mixing sources is done with normal non-HRTF methods, so increasing the number of playing sources only incurs normal mixing costs. Another benefit is that it improves B-Format playback since the soundfield gets mixed into speakers covering all three dimensions, which then get filtered based on their locations. The main downside to this is that the spatial resolution of the HRTF dataset does not play a big role anymore. However, the hope is that with ambisonics- based panning, the perceptual position of panned sounds will still be good. It is also an option to increase the number of virtual channels for systems that can handle it, or maybe even decrease it for weaker systems.
* Balance the left and right channels for quad outputChris Robinson2014-11-211-2/+2
|
* Reformat a couple linesChris Robinson2014-11-211-10/+8
|
* Initialize panning after setting up HRTFChris Robinson2014-11-211-5/+5
|
* Allocate the DryBuffer dynamicallyChris Robinson2014-11-213-2/+16
|
* Only warn when no data file could be openedChris Robinson2014-11-191-5/+2
|
* Align UpdateSize for Neon, tooChris Robinson2014-11-171-1/+1
|
* Don't force UpdateSize to a multiple of 4 after buffer metrics were setChris Robinson2014-11-171-2/+0
|
* Always get the pulseaudio sink info on device resetChris Robinson2014-11-171-16/+14
|
* Mark a function as constChris Robinson2014-11-151-1/+1
|
* Remove the unused angle and elevation from the device channel configChris Robinson2014-11-152-54/+33
|
* Slightly increase the ambient gain volumeChris Robinson2014-11-151-1/+8
|
* Interpolate directional reverb gains with ambient based on vector lengthChris Robinson2014-11-151-4/+23
|
* Add a method to convert channel enums to a label stringChris Robinson2014-11-151-62/+64
|
* Don't bother with LFE in the channel setup, set the values explicitlyChris Robinson2014-11-121-90/+75
|
* Add a toolchain for Android cross-compilingChris Robinson2014-11-101-0/+39
|
* Add the ability to use custom output channel coefficientsChris Robinson2014-11-101-0/+186
| | | | | I'm not sure exactly how I want to do this yet, but this is a good starting point.
* Don't use the device lock/unlock wrappers needlesslyChris Robinson2014-11-081-4/+4
|
* Remove the unused layout config optionsChris Robinson2014-11-081-19/+0
|
* Remove the unused wide-stereo optionChris Robinson2014-11-083-15/+0
|
* Reorder some options in the config sampleChris Robinson2014-11-081-41/+41
|
* Allow selecting the 5.1-rear channel config from the config fileChris Robinson2014-11-083-2/+4
|
* Remove the long-deprecated 'format' config optionChris Robinson2014-11-081-49/+0
|
* Add a workaround for compilers without __COUNTER__Chris Robinson2014-11-071-1/+3
| | | | | | This can make GCC pretty noisey, complaining "declaration does not declare anything" for each static_assert, but it should still function on such older compilers.
* Only enable the BS2B filter with stereo outputChris Robinson2014-11-071-1/+2
|
* Go to the next voice when a source is stoppedChris Robinson2014-11-071-1/+1
|
* Rename a couple parametersChris Robinson2014-11-071-3/+3
|
* Move a declarationChris Robinson2014-11-071-1/+2
|
* Fallback to 16-bit samples in alffmpeg if a float32 format isn't supportedChris Robinson2014-11-071-4/+4
|
* Pas the output device channel count to ALeffectState::processChris Robinson2014-11-0714-52/+53
|
* Rename speakers to channels, and remove an old incorrect commentChris Robinson2014-11-074-29/+27
|
* Use a separate macro for the max output channel countChris Robinson2014-11-0716-59/+58
|
* Use shorter display names for the surround sound config optionsChris Robinson2014-11-071-3/+3
|
* Fix 5.1 surround soundChris Robinson2014-11-0711-110/+124
| | | | | | | | | | | | | Apparently, 5.1 surround sound is supposed to use the "side" channels, not the back channels, and we've been wrong this whole time. That means the "5.1 Side" is actually the correct 5.1 setup, and using the back channels is anomalous. Additionally, this means the 5.1 buffer format should also use the the side channels instead of the back channels. A final note: the 5.1 mixing coefficients are changed so both use the original 5.1 surround sound set (with the surround channels at +/-110 degrees). So the only difference now between 5.1 "side" and 5.1 "back" is the channel labels.
* Update cross-compiler toolchain to work better with QtChris Robinson2014-11-061-5/+12
|
* Initialize a couple variables mingw complains aboutChris Robinson2014-11-061-2/+2
|
* Use SZFMT for printing size_tChris Robinson2014-11-061-4/+4
|
* Play zero-distance/zero-radius sources from the frontChris Robinson2014-11-051-4/+4
|
* Don't use FrontLeft and FrontRight to reference the dry bufferChris Robinson2014-11-051-4/+4
|
* Don't increment the output buffer in the Write_ methodsChris Robinson2014-11-051-13/+17
|
* Support 5.1 and 7.1 in alffplayChris Robinson2014-11-051-5/+57
|
* Remove the channel name from ChannelConfigChris Robinson2014-11-052-47/+50
|
* Fix panning of multi-channel sourcesChris Robinson2014-11-051-1/+1
|
* Set gains using the device channel indexChris Robinson2014-11-053-40/+45
|
* Add LFE to the speaker arraysChris Robinson2014-11-041-8/+12
|
* Use a method to set omni-directional channel gainsChris Robinson2014-11-049-36/+33
|
* Use COUNTOF to set the number of speakersChris Robinson2014-11-041-7/+7
|
* Add some missing breaksChris Robinson2014-11-021-0/+2
|