Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't bother with an explicit stop backend method | Chris Robinson | 2018-01-29 | 18 | -348/+209 |
| | |||||
* | Call the backend close method in the destructor | Chris Robinson | 2018-01-28 | 13 | -79/+125 |
| | |||||
* | Combine common initialization code into a function | Chris Robinson | 2018-01-28 | 1 | -143/+105 |
| | |||||
* | Make EnabledEvts atomic | Chris Robinson | 2018-01-28 | 1 | -1/+1 |
| | |||||
* | Use a fixed array for the effect state factory list | Chris Robinson | 2018-01-28 | 1 | -4/+0 |
| | |||||
* | Store filters in an array of lists | Chris Robinson | 2018-01-27 | 1 | -10/+12 |
| | |||||
* | Store effects in an array of lists | Chris Robinson | 2018-01-27 | 1 | -10/+12 |
| | |||||
* | Use a vector to store the effect slot pointers | Chris Robinson | 2018-01-27 | 1 | -12/+13 |
| | | | | And make the ID a simple index into it (1-base, to avoid ID 0). | ||||
* | Use an array lookup for source IDs | Chris Robinson | 2018-01-27 | 1 | -37/+48 |
| | | | | | This is now similar to buffers, being stored in groups of 64 in a vector with the ID providing the array indices. | ||||
* | Use a different method for storing and looking up buffers | Chris Robinson | 2018-01-27 | 1 | -10/+12 |
| | | | | | | | | | | | | | | | | | Rather than each buffer being individually allocated with a generated 'thunk' ID that's used with a uint:ptr map, buffers are allocated in arrays of 64 within a vector. Each group of 64 has an associated 64-bit mask indicating which are free to use, and the buffer ID is comprised of the two array indices which directly locate the buffer (no searching, binary or otherwise). Currently no buffers are actually deallocated after being allocated, though they are reused. So an app that creates a ton of buffers once, then deletes them all and uses only a couple from then on, will have a bit of waste, while an app that's more consistent with the number of used buffers won't be a problem. This can be improved by removing elements of the containing vector that contain all-free buffers while there are plenty of other free buffers. Also, this method can easily be applied to other resources, like sources. | ||||
* | Don't rely on alMain.h in alBuffer.h | Chris Robinson | 2018-01-26 | 1 | -0/+78 |
| | |||||
* | Construct error messages using parameterized values | Chris Robinson | 2018-01-25 | 9 | -170/+176 |
| | |||||
* | Report AL_SOFTX_events as an in-progress extension | Chris Robinson | 2018-01-24 | 1 | -0/+1 |
| | |||||
* | Add a deprecated event type for alDopplerVelocity | Chris Robinson | 2018-01-24 | 1 | -0/+1 |
| | |||||
* | Provide messages for the remaining AL errors | Chris Robinson | 2018-01-24 | 9 | -261/+188 |
| | |||||
* | Handle event properties | Chris Robinson | 2018-01-23 | 1 | -0/+18 |
| | | | | | This just implements the event methods insofar as tracked state. No events are generated/reported yet. | ||||
* | Use a new proper buffer function with a flags parameter | Chris Robinson | 2018-01-23 | 1 | -0/+4 |
| | | | | | | Rather than hackily combining bit flags with the format, to increase the number of potential flags. alBufferData now behaves as if calling alBufferStorageSOFT with a flags value of 0. | ||||
* | More cleanup for buffer loading | Chris Robinson | 2018-01-21 | 1 | -4/+0 |
| | | | | | Don't bother with unnecessary and unused converters, and remove some unsupported queries. | ||||
* | Handle double-precision buffers in the mixer | Chris Robinson | 2018-01-21 | 1 | -0/+5 |
| | |||||
* | Remove the old buffer_samples functions | Chris Robinson | 2018-01-21 | 1 | -45/+0 |
| | | | | | | | The symbols are still there and exported to retain ABI compatibility, but they no longer do anything except set an AL_INVALID_OPERATION error. They're also removed from the function and enum tables, since they're not part of any supported extension. | ||||
* | Expose a preliminary AL_SOFT_map_buffer extension for testing | Chris Robinson | 2018-01-20 | 1 | -8/+33 |
| | |||||
* | Store 8-bit sample types directly as unsigned byte | Chris Robinson | 2018-01-19 | 1 | -4/+4 |
| | |||||
* | Remove unnecessary private AL_SOFT_buffer_samples2 definitions | Chris Robinson | 2018-01-19 | 1 | -9/+0 |
| | |||||
* | Store mulaw and alaw samples directly in the buffer | Chris Robinson | 2018-01-17 | 1 | -9/+18 |
| | | | | | | | 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 | -3/+3 |
| | |||||
* | Avoid using alloca in the CoreAudio backend | Chris Robinson | 2018-01-16 | 1 | -12/+10 |
| | |||||
* | Use a global RowMixerFunc | Chris Robinson | 2018-01-16 | 3 | -30/+9 |
| | |||||
* | Properly cast some parameters for MSVC | Chris Robinson | 2018-01-16 | 1 | -5/+5 |
| | |||||
* | Add min/max/clamp functions for size_t | Chris Robinson | 2018-01-16 | 1 | -0/+4 |
| | |||||
* | Do more samples at once with the distortion effect | Chris Robinson | 2018-01-16 | 1 | -25/+21 |
| | |||||
* | Don't fade the all-pass delay changes | Chris Robinson | 2018-01-15 | 1 | -48/+28 |
| | |||||
* | Fix a comment regarding the T60 filter coefficients | Chris Robinson | 2018-01-15 | 1 | -3/+2 |
| | |||||
* | Simplify preparing the T60 filters | Chris Robinson | 2018-01-15 | 1 | -50/+11 |
| | |||||
* | Assign the HRTF storage pointers separately | Chris Robinson | 2018-01-15 | 1 | -5/+11 |
| | |||||
* | Finalize ALC_SOFT_device_clock | Chris Robinson | 2018-01-15 | 1 | -1/+1 |
| | |||||
* | Use separate input and outputs for the T60 and allpass processing | Chris Robinson | 2018-01-15 | 1 | -21/+22 |
| | |||||
* | Use a proper type for the T60 decay filter | Chris Robinson | 2018-01-15 | 1 | -25/+22 |
| | |||||
* | Separate some anonymous structs into defined structs | Chris Robinson | 2018-01-14 | 2 | -108/+110 |
| | |||||
* | Avoid unnecessarily using type aliases | Chris Robinson | 2018-01-14 | 2 | -6/+7 |
| | |||||
* | Remove the SAFE_CONST macro | Chris Robinson | 2018-01-14 | 3 | -20/+15 |
| | | | | | Seems compilers are now allowing a pointer-to-type-array to implicitly convert to pointer-to-const-type-array. | ||||
* | Remove a redundant lower value clamp | Chris Robinson | 2018-01-14 | 1 | -4/+2 |
| | |||||
* | Don't check the modulation depth for changes multiple times | Chris Robinson | 2018-01-14 | 1 | -7/+8 |
| | |||||
* | Use separate arrays for the T60 filter states | Chris Robinson | 2018-01-14 | 1 | -9/+10 |
| | |||||
* | Use a macro for the number of reverb lines | Chris Robinson | 2018-01-14 | 1 | -82/+86 |
| | |||||
* | Only pass the needed parameters to LateT60Filter | Chris Robinson | 2018-01-14 | 1 | -28/+21 |
| | |||||
* | Pre-apply the T60 filter midgain to the HF filter coeffs | Chris Robinson | 2018-01-13 | 1 | -38/+30 |
| | |||||
* | Replace some freq_mult variable names with f0norm | Chris Robinson | 2018-01-13 | 4 | -23/+23 |
| | | | | | | 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). | ||||
* | Avoid fixed-PATH_MAX-size buffers | Chris Robinson | 2018-01-13 | 2 | -38/+77 |
| | | | | | Windows still needs to use MAX_PATH in a couple places, but that macro's guaranteed there. | ||||
* | Use GetProcBinary to get the executable name for PulseAudio | Chris Robinson | 2018-01-13 | 1 | -4/+7 |
| | |||||
* | Use KERN_PROCARGS to get the process path+filename on FreeBSD | Chris Robinson | 2018-01-13 | 1 | -5/+4 |
| |