Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reformat the format array | Chris Robinson | 2018-01-17 | 1 | -36/+36 |
| | |||||
* | Store mulaw and alaw samples directly in the buffer | Chris Robinson | 2018-01-17 | 4 | -26/+22 |
| | | | | | | | They're now decompressed on the fly in the mixer. This is not a significant performance issue given that it only needs a 512-byte lookup table, and the buffer stores half as much data (it may actually be faster, requiring less overall memory). | ||||
* | Use a voice flag to indicate it being static | Chris Robinson | 2018-01-16 | 2 | -5/+6 |
| | |||||
* | Define DECL_VLA where it's used | Chris Robinson | 2018-01-16 | 2 | -6/+7 |
| | |||||
* | Use a global RowMixerFunc | Chris Robinson | 2018-01-16 | 1 | -1/+1 |
| | |||||
* | Add min/max/clamp functions for size_t | Chris Robinson | 2018-01-16 | 1 | -0/+7 |
| | |||||
* | Use ALsizei for some count/length variables | Chris Robinson | 2018-01-15 | 1 | -37/+37 |
| | |||||
* | Finalize ALC_SOFT_device_clock | Chris Robinson | 2018-01-15 | 1 | -15/+0 |
| | |||||
* | Avoid unnecessarily using type aliases | Chris Robinson | 2018-01-14 | 2 | -6/+5 |
| | |||||
* | 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. | ||||
* | Replace some freq_mult variable names with f0norm | Chris Robinson | 2018-01-13 | 2 | -12/+30 |
| | | | | | | The latter is a bit more descriptive as f0 is often used to denote the reference frequency of a filter, so f0norm indicates the normalized reference frequency (ref_freq / sample_rate). | ||||
* | Use a more normal vtable setup for filter methods | Chris Robinson | 2018-01-13 | 2 | -113/+81 |
| | |||||
* | 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 |
| | |||||
* | Remove SET_VTABLE1 | Chris Robinson | 2018-01-11 | 1 | -11/+11 |
| | |||||
* | Clean up the EffectList members and make the list size known | Chris Robinson | 2018-01-11 | 2 | -29/+28 |
| | |||||
* | Move the EffectList array to alEffect.c/h | Chris Robinson | 2018-01-11 | 4 | -24/+24 |
| | |||||
* | 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 | 2 | -32/+1 |
| | | | | 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 | 2 | -58/+70 |
| | |||||
* | Don't return whether the bsinc filter cuts or not | Chris Robinson | 2018-01-10 | 1 | -1/+1 |
| | |||||
* | Use one macro to handle both resample padding sizes | Chris Robinson | 2018-01-09 | 1 | -6/+5 |
| | |||||
* | Combine the chorus and flanger processing functions | Chris Robinson | 2018-01-09 | 2 | -16/+7 |
| | | | | | | | Given that they're nearly identical, it should be relatively simple to use the same effect state to process either of them, similar to the reverbs. The big differences seem to be the delay range (much shorter with flanger) and the defaults. | ||||
* | Rename the device's temp buffer storage to be more generic | Chris Robinson | 2018-01-09 | 1 | -5/+2 |
| | |||||
* | Remove standard reverb specific processing functions | Chris Robinson | 2018-01-07 | 1 | -1/+0 |
| | |||||
* | Move the UNEXPECTED macro to the main header and rename it | Chris Robinson | 2018-01-07 | 1 | -0/+8 |
| | |||||
* | Use a separate function to get the cubic value | Chris Robinson | 2018-01-07 | 1 | -0/+9 |
| | |||||
* | Remove the sinc4 table | Chris Robinson | 2018-01-07 | 1 | -5/+0 |
| | |||||
* | Replace the sinc4 resampler with cubic | Chris Robinson | 2018-01-07 | 2 | -6/+2 |
| | | | | | | | Turns out the C version of the cubic resampler is just slightly faster than even the SSE3 version of the FIR4 resampler. This is likely due to not using a 64KB random-access lookup table along with unaligned loads, both offseting the gains from SSE. | ||||
* | Make MixSamples non-static global | Chris Robinson | 2017-12-17 | 1 | -1/+2 |
| | |||||
* | Allow storing multiple buffers in a ALbufferlistitem | Chris Robinson | 2017-12-15 | 2 | -68/+145 |
| | | | | | | | | | | | | | | | 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. | ||||
* | Add queries to get the source offset with the device clock | Chris Robinson | 2017-12-03 | 2 | -0/+34 |
| | |||||
* | Add an "un-exposed" method to get the library version | Chris Robinson | 2017-10-16 | 1 | -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. | ||||
* | 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 | 8 | -48/+42 |
| | | | | | 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 | 4 | -40/+52 |
| | |||||
* | Update the context state properties separately | Chris Robinson | 2017-09-27 | 5 | -26/+69 |
| | | | | | | | | | | | | | 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. | ||||
* | Add an option to ignore the app's speed of sound for reverb decay | Chris Robinson | 2017-09-22 | 2 | -1/+3 |
| | |||||
* | Pass the context to the auxiliary effect update method | Chris Robinson | 2017-09-21 | 1 | -2/+2 |
| | |||||
* | 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. |