aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
Commit message (Collapse)AuthorAgeFilesLines
* Finalize ALC_SOFT_HRTFChris Robinson2015-10-281-22/+0
|
* Rename ALC_NUM_HRTF_SPECIFIER_SOFT to ALC_NUM_HRTF_SPECIFIERS_SOFTChris Robinson2015-10-261-1/+1
|
* Convert the PortAudio backend to the new backend APIChris Robinson2015-10-221-3/+0
|
* Remove the MIDI codeChris Robinson2015-10-201-214/+0
| | | | | | | The extension's not going anywhere, and it can't do anything fluidsynth can't. The code maintenance and bloat is not worth keeping around, and ideally the AL API would be able to facilitate MIDI-like behavior anyway (envelopes, start-at- time, etc).
* Remove unused channel labelsChris Robinson2015-10-181-9/+0
|
* Move the FIR4 from SSE2 to SSE3Chris Robinson2015-10-111-2/+3
| | | | | SSE3 can avoid the slow _MM_TRANSPOSE_PS4 call thanks to the inclusion of horizontal adds.
* Allow apps to request a specific HRTFChris Robinson2015-10-071-2/+3
|
* Use the enumerated HRTF list for selecting an HRTFChris Robinson2015-10-061-0/+1
| | | | Also report the proper specifier of the one currently in use.
* Enumerate and list HRTFs per-deviceChris Robinson2015-10-061-0/+1
|
* Add a function to get a list of data filesChris Robinson2015-10-031-0/+2
| | | | | | The method takes a marked-up filename (e.g. may include %r for a sample rate, %% for %, etc), and returns a vector of strings of found filenames that match. It will search the CWD, the local, and global data directories, in that order.
* Add methods to enumerate and query device HRTFsChris Robinson2015-10-031-0/+4
| | | | Currently just returns a dummy entry.
* Move the resampler stuff to mixer.c where it's usedChris Robinson2015-10-011-9/+0
|
* Implement a 6-point sinc-lanczos filterChris Robinson2015-09-291-0/+1
|
* Replace the cubic resampler with a 4-point sinc/lanczos filterChris Robinson2015-09-271-1/+1
|
* Get rid of ALCdevice_GetLatencyChris Robinson2015-09-211-1/+0
|
* Use sizeof T for the size of the object typeChris Robinson2015-09-151-5/+5
|
* Don't store the HRTF request mode in the device flagsChris Robinson2015-09-051-8/+1
|
* Allow for device-specific config valuesChris Robinson2015-08-281-8/+8
|
* Use ACN ordering for ambisonics coefficients arraysChris Robinson2015-08-281-4/+4
| | | | | | Note that it still uses FuMa scalings internally. Coefficients loaded from config files specify if they're FuMa (in both ordering and scaling) or N3D, and will get reordered or rescaled as needed.
* Don't explicitly store first-order coefficientsChris Robinson2015-08-181-5/+3
| | | | | | | It seems a simple scaling on the coefficients will allow first-order content to work with second- and third-order coefficients, although obviously not with any improved locality. That may be something to look into for the future, but this is good enough for now.
* Allow specifying ALC_DONT_CARE_SOFT for ALC_HRTF_SOFTChris Robinson2015-07-061-2/+8
| | | | | ALC_FALSE now indicates explicitly no HRTF mixing, while ALC_DONT_CARE_SOFT is autodetect.
* Update a couple commentsChris Robinson2015-07-041-1/+1
|
* Add a macro to simplify allocating and constructing an objectChris Robinson2015-05-181-0/+12
|
* Convert the solaris backend to the new APIChris Robinson2015-05-171-3/+0
|
* Add a method to reset the deviceChris Robinson2015-05-161-0/+4
| | | | | | | This basically acts as if the app created a new context with the specified attributes (causing the device to reset with new parameters), then immediately delete it. Existing contexts remain undisturbed, except for a temporary pause while the device output is reconfigured.
* Add a few more HRTF status valuesChris Robinson2015-05-161-1/+4
| | | | | | | | | DISABLED - Generic disabled status ENABLED - Generic enabled status DENIED - Not allowed (user has configured HRTF to be off) REQUIRED - Forced (user has forced HRTF to be used) HEADPHONES_DETECTED - Enabled because headphones were detected UNSUPPORTED_FORMAT - Device format is not compatible with available filters
* Add an HRTF status queryChris Robinson2015-05-151-0/+5
| | | | | This can report the status of HRTF, specifying if it's enabled or not and why (currently only reports unsupported formats, but this may be extended).
* Add an option for "basic" HRTF renderingChris Robinson2015-02-111-0/+8
| | | | | | | | | | | | | | | | | This method is intended to help development by easily testing the quality of the B-Format encode and B-Format-to-HRTF decode. When used with HRTF, all sources are renderer using the virtual B-Format output, rather than just B-Format sources. Despite the CPU cost savings (only four channels need to be filtered with HRTF, while sources all render normally), the spatial acuity offered by the B-Format output is pretty poor since it's only first-order ambisonics, so "full" HRTF rendering is definitely preferred. It's /possible/ for some systems to be edge cases that prefer the CPU cost savings provided by basic over the sharper localization provided by full, and you do still get 3D positional cues, but this is unlikely to be an actual use- case in practice.
* Remove some IN_IDE_PARSER usesChris Robinson2014-12-241-7/+0
|
* Add a lockless ringbufferChris Robinson2014-12-231-0/+19
| | | | | | Largely copied from JACK, it's extended to work with user-specified element sizes instead of bytes. This is necessary to be able to work with 6- and 7- channel output modes.
* Use a macro for the record thread nameChris Robinson2014-12-211-0/+2
|
* Fix logging on WindowsChris Robinson2014-12-201-1/+1
|
* Support B-Format output with the wave file writerChris Robinson2014-11-251-0/+7
|
* Add a boolean to specify if a device is headphonesChris Robinson2014-11-231-0/+1
|
* Remove unused channel enumsChris Robinson2014-11-231-2/+0
|
* Remove the cube+diamond virtual layoutChris Robinson2014-11-231-1/+1
|
* Partially revert "Use a different method for HRTF mixing"Chris Robinson2014-11-231-0/+2
| | | | | | | | | | | | The sound localization with virtual channel mixing was just too poor, so while it's more costly to do per-source HRTF mixing, it's unavoidable if you want good localization. This is only partially reverted because having the virtual channel is still beneficial, particularly with B-Format rendering and effect mixing which otherwise skip HRTF processing. As before, the number of virtual channels can potentially be customized, specifying more or less channels depending on the system's needs.
* Attempt to use BS2B when using headphones without HRTFChris Robinson2014-11-221-1/+0
|
* Rework HRTF decision logicChris Robinson2014-11-221-0/+1
| | | | | | This way takes into account a new stereo-mode config option, which when set to "headphones" will default to using HRTF. Eventually the device will also be able to specify if headphones are being used.
* Remove an unused macroChris Robinson2014-11-221-3/+0
|
* Use a different method for HRTF mixingChris Robinson2014-11-221-1/+32
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Allocate the DryBuffer dynamicallyChris Robinson2014-11-211-1/+1
|
* Remove the unused angle and elevation from the device channel configChris Robinson2014-11-151-2/+0
|
* Remove the unused wide-stereo optionChris Robinson2014-11-081-3/+0
|
* Move a declarationChris Robinson2014-11-071-1/+2
|
* Pas the output device channel count to ALeffectState::processChris Robinson2014-11-071-0/+4
|
* Rename speakers to channels, and remove an old incorrect commentChris Robinson2014-11-071-4/+2
|
* Use a separate macro for the max output channel countChris Robinson2014-11-071-7/+6
|
* Fix 5.1 surround soundChris Robinson2014-11-071-2/+2
| | | | | | | | | | | | | 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.
* Remove the channel name from ChannelConfigChris Robinson2014-11-051-1/+0
|