Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Define DECL_VLA where it's used | Chris Robinson | 2018-01-16 | 1 | -6/+0 |
| | |||||
* | Finalize ALC_SOFT_device_clock | Chris Robinson | 2018-01-15 | 1 | -15/+0 |
| | |||||
* | Avoid unnecessarily using type aliases | Chris Robinson | 2018-01-14 | 1 | -6/+0 |
| | |||||
* | Remove the SAFE_CONST macro | Chris Robinson | 2018-01-14 | 1 | -42/+0 |
| | | | | | Seems compilers are now allowing a pointer-to-type-array to implicitly convert to pointer-to-const-type-array. | ||||
* | Avoid fixed-PATH_MAX-size buffers | Chris Robinson | 2018-01-13 | 1 | -8/+0 |
| | | | | | Windows still needs to use MAX_PATH in a couple places, but that macro's guaranteed there. | ||||
* | Move the FORCE_ALIGN macro to threads.h | Chris Robinson | 2018-01-12 | 1 | -10/+0 |
| | |||||
* | Make a couple functions inline | Chris Robinson | 2018-01-12 | 1 | -7/+3 |
| | |||||
* | Define a function where it's used | Chris Robinson | 2018-01-11 | 1 | -18/+0 |
| | |||||
* | Move logging declarations to a separate header | Chris Robinson | 2018-01-11 | 1 | -57/+2 |
| | |||||
* | Avoid including alMain.h in ringbuffer.c | Chris Robinson | 2018-01-11 | 1 | -14/+0 |
| | |||||
* | Move a forward declaration to the others | Chris Robinson | 2018-01-11 | 1 | -2/+1 |
| | |||||
* | Move the EffectList array to alEffect.c/h | Chris Robinson | 2018-01-11 | 1 | -8/+0 |
| | |||||
* | Move the ringbuffer declarations to a separate header | Chris Robinson | 2018-01-11 | 1 | -20/+0 |
| | | | | And rename alcRing.c to ringbuffer.c for consistency. | ||||
* | Move the FPU mode declarations to a separate header | Chris Robinson | 2018-01-11 | 1 | -32/+0 |
| | | | | Also don't use inheritance with FPUCtl. | ||||
* | Move the config function declarations to their own header | Chris Robinson | 2018-01-11 | 1 | -10/+0 |
| | | | | And rename alcConfig.c to alconfig.c for consistency. | ||||
* | Move the CPU capability flags to a separate header | Chris Robinson | 2018-01-11 | 1 | -11/+0 |
| | |||||
* | Move the compressor/limiter declarations to their own header | Chris Robinson | 2018-01-11 | 1 | -28/+0 |
| | |||||
* | Move the polymorphic/inheritance macros to a separate header | Chris Robinson | 2018-01-11 | 1 | -94/+1 |
| | |||||
* | Move some HRTF structures to hrtf.h | Chris Robinson | 2018-01-11 | 1 | -30/+2 |
| | |||||
* | Avoid using macros to access anonymous structures | Chris Robinson | 2018-01-11 | 1 | -33/+40 |
| | |||||
* | Rename the device's temp buffer storage to be more generic | Chris Robinson | 2018-01-09 | 1 | -5/+2 |
| | |||||
* | Move the UNEXPECTED macro to the main header and rename it | Chris Robinson | 2018-01-07 | 1 | -0/+8 |
| | |||||
* | Add queries to get the source offset with the device clock | Chris Robinson | 2017-12-03 | 1 | -0/+2 |
| | |||||
* | Avoid a separate function to query ambisonic mode support | Chris Robinson | 2017-09-27 | 1 | -12/+8 |
| | | | | | | 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 change | Chris Robinson | 2017-09-27 | 1 | -1/+11 |
| | | | | | Also keep all free property update structs together in the context instead of per-object. | ||||
* | Don't update context and listener props unnecessarily | Chris Robinson | 2017-09-27 | 1 | -0/+2 |
| | |||||
* | Update the context state properties separately | Chris Robinson | 2017-09-27 | 1 | -0/+5 |
| | | | | | | | | | | | | | 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. | ||||
* | Manually save and restore the FPU rounding mode on Windows | Chris Robinson | 2017-09-19 | 1 | -0/+3 |
| | | | | | | | 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. | ||||
* | Add a front-stablizer config option for surround sound modes | Chris Robinson | 2017-07-31 | 1 | -0/+3 |
| | | | | | | | | | | | | This improves a stereo (front-left + front-right) sound "image" by generating a front-center channel signal. Done correctly, it helps reduce the comb effects and phase errors associated with using only two speakers to simulate center sounds. Note that it shouldn't be used if the front-center channel is already included in the positional audio mix (the dialog effect is okay). In general, it may actually be better to exclude the front-center channel from the positional audio mix and use this to generate front-center output. | ||||
* | Use macros to set and restore the mixer FPU mode | Chris Robinson | 2017-07-13 | 1 | -0/+11 |
| | |||||
* | Store the default effect slot in the context | Chris Robinson | 2017-07-13 | 1 | -7/+4 |
| | |||||
* | Store the QSA backend's ExtraData in the wrapper struct | Chris Robinson | 2017-06-29 | 1 | -2/+0 |
| | |||||
* | Remove the fastf2u conversion function | Chris Robinson | 2017-06-27 | 1 | -5/+0 |
| | |||||
* | Clean up some messy rounding code | Chris Robinson | 2017-06-26 | 1 | -0/+18 |
| | |||||
* | "Convert" the QSA backend to the new API | Chris Robinson | 2017-06-18 | 1 | -19/+0 |
| | | | | | | | | | | I say "convert" because it takes the lazy way and essentially just embeds the wrappers into the backend. It's done this way because I lack the means to check any changes, even syntactically. This also means the device's ExtraData field is still needed. However, this does mean all the backends are now using the new API. Code related to the old interface can now be removed. | ||||
* | Make the dithering depth configurable | Chris Robinson | 2017-06-17 | 1 | -1/+1 |
| | |||||
* | Add a new compressor/limiter | Chris Robinson | 2017-05-27 | 1 | -2/+30 |
| | | | | | | This is just for the output limiter right now, but in the future can be used for the compressor EFX effect. The parameters are also hardcoded, but can be made configurable after 1.18. | ||||
* | Finalize ALC_SOFT_output_limiter | Chris Robinson | 2017-05-25 | 1 | -5/+0 |
| | |||||
* | Add an option to dither 8- and 16-bit output | Chris Robinson | 2017-05-23 | 1 | -0/+4 |
| | |||||
* | Finalize AL_SOFT_source_spatialize | Chris Robinson | 2017-05-11 | 1 | -6/+0 |
| | |||||
* | Update AL_SOURCE_SPATIALIZE_SOFT value | Chris Robinson | 2017-05-06 | 1 | -1/+1 |
| | | | | | | Though it didn't strictly clash since it was for a different component (global state vs source property), 0x1213 was used by AL_RESAMPLER_NAME_SOFT. Probably best to avoid duplicate property values regardless. | ||||
* | Calculate the output limiter gain using the RMS | Chris Robinson | 2017-05-05 | 1 | -1/+2 |
| | |||||
* | Start an extension to change the source's spatialize property | Chris Robinson | 2017-05-05 | 1 | -0/+6 |
| | |||||
* | Finalize AL_SOFT_source_resampler | Chris Robinson | 2017-05-03 | 1 | -13/+0 |
| | |||||
* | Start an extension to toggle the output limiter | Chris Robinson | 2017-04-30 | 1 | -0/+5 |
| | |||||
* | Implement a limiter on the device output | Chris Robinson | 2017-04-26 | 1 | -0/+2 |
| | | | | | | This reduces the output volume when the mixed samples extend outside of -1,+1, to prevent excessive clipping. It can reduce the volume by -80dB in 50ms, and increase it by +80dB in 1s (it will not go below -80dB or above 0dB). | ||||
* | Remove const from _Atomic vars to make Clang happy | Chris Robinson | 2017-04-21 | 1 | -0/+14 |
| | | | | | | | | Clang does not allow using C11's atomic_load on const _Atomic variables. Previously it just disabled use of C11 atomics if atomic_load didn't work on a const _Atomic variable, but I think I'd prefer to have Clang use C11 atomics for the added features (more explicit memory ordering) even if it means a few instances of breaking const. | ||||
* | Use more sensible values for the source resampler enums | Chris Robinson | 2017-04-21 | 1 | -4/+4 |
| | |||||
* | Add a method to enumerate resamplers | Chris Robinson | 2017-04-21 | 1 | -0/+13 |
| | |||||
* | Allocate a new context's voices after updating the device params | Chris Robinson | 2017-04-19 | 1 | -0/+1 |
| |