aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename SrcDataSize to be less confusingChris Robinson2017-12-161-25/+23
|
* Allow storing multiple buffers in a ALbufferlistitemChris Robinson2017-12-154-72/+153
| | | | | | | | | | | | | | | This will be to allow buffer layering, multiple buffers of the same format and sample rate that are mixed together prior to resampling, filtering, and panning. This will allow composing sounds from individual components that can be swapped around on different invocations (e.g. layer SoundA and SoundB on one instance and SoundA and SoundC on a different instance for a slightly different sound, then just SoundA for a third instance, and so on). The longest buffer within the list item determines the length of the list item. More work needs to be done to fully support it, namely the ability to specity multiple buffers to layer for static and streaming sources. Also the behavior of loop points for layered static sources should be worked out. Should also consider allowing each layer to have a sample offset.
* Update flanger with the same changes as chorusChris Robinson2017-12-151-44/+55
|
* Use a separate LFO offset in the chorus effectChris Robinson2017-12-151-10/+19
| | | | | Given that the LFO range is not a power-of-two, it won't correctly wrap on overflow.
* Use linear interpolation for the chorus delay outputChris Robinson2017-12-151-37/+39
|
* Use the correct functions set to the compiler switchesChris Robinson2017-12-152-146/+143
|
* Add queries to get the source offset with the device clockChris Robinson2017-12-032-0/+34
|
* It's getFactory that may be NULL, not its return value...Chris Robinson2017-11-261-3/+4
|
* Don't probe a NULL backend factoryChris Robinson2017-11-261-2/+2
|
* Add a simple non-streaming play exampleChris Robinson2017-11-072-1/+185
|
* Properly initialize with the default distance modelChris Robinson2017-10-291-6/+3
|
* Enable NFC filters for HRTFChris Robinson2017-10-231-0/+2
| | | | Only applies to the Ambisonic mix (basic HRTF rendering, or B-Format buffers).
* Store the HRTF distance in the Hrtf handleChris Robinson2017-10-232-8/+13
|
* Update default HRTFs for 24-bit samplesChris Robinson2017-10-222-0/+0
| | | | | This is still using the (mono) KEMAR set, although perhaps the IRCAM 1005 set could be made the default (stereo and smaller).
* Update mhr format for 24-bit, multi-field, stereo measurementsChris Robinson2017-10-226-2923/+5390
| | | | | Currently only single field HRTFs are supported, but the format now allows up to 16.
* Add an "un-exposed" method to get the library versionChris Robinson2017-10-161-0/+10
| | | | | | | This reports the same ALSOFT version as alGetString(AL_VERSION), but doesn't require a current context (which requires a ALCdevice) to call. Do *NOT* use this version to determine feature support, use the standard interfaces. If you think you need to use this, you probably don't, and shouldn't.
* Add casts for assigning the SSE bsinc filter pointersChris Robinson2017-10-071-4/+4
|
* Use a typedef to declare extern atomic variablesChris Robinson2017-10-072-2/+3
| | | | | Some systems use anonymous structs for atomic storage, and extern declarations need to have the same type as their non-extern definition.
* Use _wfopen_s to silence MSVC security warningsChris Robinson2017-10-071-5/+11
|
* Don't hide the log2 macro behind an Android-only macroChris Robinson2017-10-071-1/+1
|
* Avoid a separate function to query ambisonic mode supportChris Robinson2017-09-272-38/+18
| | | | | | Now FuMa and ACN channel orders are required, as are FuMa, SN3D, and N3D normalization schemes. An integer query (alcGetIntegerv) is added for the maximum ambisonic order.
* Re-update effect slots when context properties changeChris Robinson2017-09-2710-126/+133
| | | | | Also keep all free property update structs together in the context instead of per-object.
* Don't update context and listener props unnecessarilyChris Robinson2017-09-275-42/+61
|
* Update the context state properties separatelyChris Robinson2017-09-277-60/+138
| | | | | | | | | | | | | The context state properties are less likely to change compared to the listener state, and future changes may prefer more infrequent updates to the context state. Note that this puts the MetersPerUnit in as a context state, even though it's handled through the listener functions. Considering the infrequency that it's updated at (generally set just once for the context's lifetime), it makes more sense to put it there than with the more frequently updated listener properties. The aforementioned future changes would also prefer MetersPerUnit to not be updated unnecessarily.
* Update version for 1.18.2 releaseChris Robinson2017-09-242-2/+2
| | | | | Note the real release is in the v1.18 branch! This is just for numbering consistency.
* Update ChangeLog with JACK fixChris Robinson2017-09-231-0/+2
|
* Restore the original JACK message callback when possibleChris Robinson2017-09-231-1/+9
|
* Update ChangeLogChris Robinson2017-09-221-0/+2
|
* Add an option to ignore the app's speed of sound for reverb decayChris Robinson2017-09-226-5/+30
|
* Merge pull request #149 from dscharrer/masterkcat2017-09-211-0/+1
|\ | | | | Fix build on Gentoo FreeBSD with freebsd-lib 9.1
| * Fix build on Gentoo FreeBSD with freebsd-lib 9.1Daniel Scharrer2017-09-211-0/+1
| |
* | Use the app-specified speed of sound for reverb decayChris Robinson2017-09-212-5/+9
| | | | | | | | | | Specifically, the initial reverb decay as determined by the source distance, and the reverb decayhf limit from air absorption.
* | Pass the context to the auxiliary effect update methodChris Robinson2017-09-2112-46/+55
|/
* Update ChangeLogChris Robinson2017-09-191-0/+11
|
* Manually save and restore the FPU rounding mode on WindowsChris Robinson2017-09-192-0/+13
| | | | | | | Apparently there is a bug with at least MinGW-W64 where fegetenv and fesetenv do not properly save and restore the FPU rounding mode, resulting in the rounding mode remaining as round-to-zero after certain function calls. I do not know if this also affects MSVC, but better safe than sorry for now.
* Always link to ossaudio when foundChris Robinson2017-09-151-1/+1
|
* Handle libossaudio as an optional OSS libraryChris Robinson2017-09-152-1/+16
|
* Add a check for pthread_setname_np with three parametersChris Robinson2017-09-153-0/+24
| | | | As found in NetBSD.
* Don't hide -msse and -mfpu=neon checks behind a not-msvc checkChris Robinson2017-08-301-21/+20
| | | | | Apparently Clang gets reported as being MSVC on Windows, but still needs the GCC switches to enable SSE code generation.
* I guess -1 isn't allowed for the outputChris Robinson2017-08-301-4/+4
|
* Free the args returned by CommandLineToArgvWChris Robinson2017-08-301-0/+2
|
* Depend on native-tools sources using IMPLICIT_DEPENDSChris Robinson2017-08-301-1/+3
|
* Avoid using wmain on WindowsChris Robinson2017-08-305-54/+53
|
* Pass the current cmake generator to the native-tools buildChris Robinson2017-08-301-1/+1
|
* Include limits.h where INT_MAX is usedChris Robinson2017-08-301-0/+2
|
* Avoid some extraneous load callsChris Robinson2017-08-302-26/+23
| | | | | This likely doesn't change anything given a working optimizer, but it cleans up the code some.
* Automatically generate the bsinc table when buildingChris Robinson2017-08-285-6718/+434
| | | | | This makes bsincgen a native tool like bin2h, so it can run automatically when compiling.
* Ensure some macros have the correct sizeChris Robinson2017-08-282-1/+8
|
* Rename resampler labelsChris Robinson2017-08-272-6/+6
|
* Add bsinc24 to alsoft-configChris Robinson2017-08-271-1/+5
|