Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | 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 |
| | |||||
* | 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. | ||||
* | 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 |
| | |||||
* | Remove unnecessary private AL_SOFT_buffer_samples2 definitions | Chris Robinson | 2018-01-19 | 1 | -9/+0 |
| | |||||
* | Finalize ALC_SOFT_device_clock | Chris Robinson | 2018-01-15 | 1 | -1/+1 |
| | |||||
* | Make NumAttrsForDevice do similar type checks as alcGetIntegerv | Chris Robinson | 2018-01-12 | 1 | -1/+2 |
| | |||||
* | Make a couple functions inline | Chris Robinson | 2018-01-12 | 1 | -14/+3 |
| | |||||
* | Clean up the EffectList members and make the list size known | Chris Robinson | 2018-01-11 | 1 | -1/+1 |
| | |||||
* | Move the FPU mode declarations to a separate header | Chris Robinson | 2018-01-11 | 1 | -0/+1 |
| | | | | Also don't use inheritance with FPUCtl. | ||||
* | Move the config function declarations to their own header | Chris Robinson | 2018-01-11 | 1 | -0/+1 |
| | | | | And rename alcConfig.c to alconfig.c for consistency. | ||||
* | Move the CPU capability flags to a separate header | Chris Robinson | 2018-01-11 | 1 | -1/+2 |
| | |||||
* | Move the compressor/limiter declarations to their own header | Chris Robinson | 2018-01-11 | 1 | -0/+1 |
| | |||||
* | Avoid using macros to access anonymous structures | Chris Robinson | 2018-01-11 | 1 | -0/+1 |
| | |||||
* | Remove standard reverb specific processing functions | Chris Robinson | 2018-01-07 | 1 | -2/+0 |
| | |||||
* | Add missing integer queries | Chris Robinson | 2017-12-21 | 1 | -23/+65 |
| | |||||
* | It's getFactory that may be NULL, not its return value... | Chris Robinson | 2017-11-26 | 1 | -3/+4 |
| | |||||
* | Don't probe a NULL backend factory | Chris Robinson | 2017-11-26 | 1 | -2/+2 |
| | |||||
* | Properly initialize with the default distance model | Chris Robinson | 2017-10-29 | 1 | -6/+3 |
| | |||||
* | Avoid a separate function to query ambisonic mode support | Chris Robinson | 2017-09-27 | 1 | -26/+10 |
| | | | | | | 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 | -24/+50 |
| | | | | | 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 | -2/+9 |
| | |||||
* | Update the context state properties separately | Chris Robinson | 2017-09-27 | 1 | -14/+37 |
| | | | | | | | | | | | | | 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 | 1 | -0/+5 |
| | |||||
* | 0 meters per unit is invalid | Chris Robinson | 2017-08-21 | 1 | -2/+2 |
| | |||||
* | Avoid re-selecting the direct HRTF mix function | Chris Robinson | 2017-08-07 | 1 | -0/+1 |
| | |||||
* | 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. | ||||
* | Fix default effect initialization | Chris Robinson | 2017-07-19 | 1 | -28/+11 |
| | |||||
* | Add the default auxiliary slot to the active slot array | Chris Robinson | 2017-07-13 | 1 | -2/+11 |
| | |||||
* | Initialize the default effect after device update | Chris Robinson | 2017-07-13 | 1 | -35/+31 |
| | |||||
* | Use macros to set and restore the mixer FPU mode | Chris Robinson | 2017-07-13 | 1 | -6/+4 |
| | |||||
* | Store the default effect slot in the context | Chris Robinson | 2017-07-13 | 1 | -41/+64 |
| | |||||
* | Define a backup log2f if the compiler doesn't have it | Chris Robinson | 2017-06-29 | 1 | -3/+0 |
| | |||||
* | Workaround log2f missing on Android | Chris Robinson | 2017-06-21 | 1 | -0/+2 |
| | |||||
* | Trace if dithering is enabled | Chris Robinson | 2017-06-19 | 1 | -3/+7 |
| | |||||
* | "Convert" the QSA backend to the new API | Chris Robinson | 2017-06-18 | 1 | -77/+32 |
| | | | | | | | | | | 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 | -6/+29 |
| | |||||
* | Use an RMS limit of -3dB for the output limiter | Chris Robinson | 2017-05-29 | 1 | -2/+2 |
| | |||||
* | Use peak limiting rather than RMS detection | Chris Robinson | 2017-05-27 | 1 | -1/+1 |
| | |||||
* | Add a new compressor/limiter | Chris Robinson | 2017-05-27 | 1 | -4/+17 |
| | | | | | | 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 | -1/+1 |
| | |||||
* | Add an option to dither 8- and 16-bit output | Chris Robinson | 2017-05-23 | 1 | -0/+8 |
| |