Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make and use a bit_cast function | Chris Robinson | 2023-05-04 | 9 | -14/+21 |
| | | | | Instead of reinterpret_casting between incompatible types | ||||
* | Update ComPtr and use an out_ptr() function | Chris Robinson | 2023-05-04 | 2 | -50/+32 |
| | |||||
* | Replace al::optional with std::optional | Chris Robinson | 2023-05-04 | 12 | -60/+58 |
| | |||||
* | Implement a context debug flag | Chris Robinson | 2023-05-03 | 4 | -17/+51 |
| | | | | | Setting the debug flag at context creation enables more debug messages for the created context, and enables debug messages by default. | ||||
* | Rename AL_SOFT_debug to AL_EXT_DEBUG | Chris Robinson | 2023-05-03 | 4 | -81/+81 |
| | |||||
* | Reduce code duplication for context queries | Chris Robinson | 2023-05-01 | 1 | -0/+1 |
| | |||||
* | Define a struct where it's needed | Chris Robinson | 2023-05-01 | 1 | -1/+18 |
| | |||||
* | Implement pushing/popping debug groups | Chris Robinson | 2023-05-01 | 4 | -117/+29 |
| | |||||
* | Put the debug filters into a group | Chris Robinson | 2023-05-01 | 3 | -56/+15 |
| | |||||
* | Use a 64-bit value for tracking ID filters | Chris Robinson | 2023-05-01 | 2 | -15/+10 |
| | |||||
* | Fix some debug message length limit checks | Chris Robinson | 2023-05-01 | 1 | -4/+7 |
| | |||||
* | Avoid assigning to existing optional<string> | Chris Robinson | 2023-05-01 | 1 | -8/+2 |
| | | | | | | Reduces the amount inlining the compiler has to do, though the uhj/filter config option is no longer recognized (it has been deprecated, amd I don't think it was in an actual release). | ||||
* | Implement debug message filtering for IDs | Chris Robinson | 2023-05-01 | 2 | -0/+13 |
| | |||||
* | Fix shadowing warnings and add another missing include | Chris Robinson | 2023-04-30 | 1 | -27/+28 |
| | |||||
* | Add an extension string for the in-progress debug extension | Chris Robinson | 2023-04-30 | 1 | -0/+1 |
| | |||||
* | Implement debug log storage | Chris Robinson | 2023-04-30 | 4 | -1/+58 |
| | |||||
* | Unlock the debug lock when calling the callback | Chris Robinson | 2023-04-30 | 1 | -3/+8 |
| | | | | | | There's no full guarantee about calling AL functions in a debug callback, due to a risk of deadlocks from an AL call that tries to take a lock that's already held at the time the callback is invoked, but this helps more work. | ||||
* | Improve some debug error handling | Chris Robinson | 2023-04-30 | 1 | -3/+6 |
| | |||||
* | Separate the internal debug enums from the API values | Chris Robinson | 2023-04-30 | 2 | -55/+66 |
| | |||||
* | Move debug functions to their own source | Chris Robinson | 2023-04-30 | 1 | -166/+0 |
| | |||||
* | Implement non-ID based debug message filtering | Chris Robinson | 2023-04-30 | 4 | -1/+179 |
| | |||||
* | Provide some more debug messages | Chris Robinson | 2023-04-29 | 1 | -8/+22 |
| | |||||
* | Add a missing include | Chris Robinson | 2023-04-29 | 1 | -0/+1 |
| | |||||
* | Start a debug API extension | Chris Robinson | 2023-04-29 | 4 | -1/+153 |
| | |||||
* | Unset sLocalContext when releasing it | Chris Robinson | 2023-04-28 | 1 | -1/+1 |
| | |||||
* | Handle signed int values holding FourCC codes | Chris Robinson | 2023-04-26 | 1 | -0/+1 |
| | |||||
* | Print CoreAudio errors as FourCC codes when possible | Chris Robinson | 2023-04-26 | 1 | -43/+58 |
| | |||||
* | Check the correct device property to detect headphones | Chris Robinson | 2023-04-25 | 1 | -3/+3 |
| | |||||
* | Try to detect headphones with CoreAudio | Chris Robinson | 2023-04-24 | 1 | -0/+18 |
| | |||||
* | Scale B-Format panning coefficients only when needed | Chris Robinson | 2023-04-06 | 1 | -7/+7 |
| | |||||
* | Simplify effect state buffer handling some | Chris Robinson | 2023-04-04 | 15 | -56/+49 |
| | |||||
* | Support the AL_EXT_STATIC_BUFFER extension | Chris Robinson | 2023-04-03 | 2 | -0/+3 |
| | |||||
* | Finalize AL_SOFT_source_start_delay | Chris Robinson | 2023-03-31 | 2 | -11/+1 |
| | |||||
* | Add a compat option to restore AL_SOFT_buffer_sub_data | Chris Robinson | 2023-03-17 | 3 | -18/+39 |
| | |||||
* | Rename some member functions and variables for consistency | Chris Robinson | 2023-03-16 | 2 | -118/+118 |
| | |||||
* | Commit deferred EAX properties in alcProcessContext | Chris Robinson | 2023-03-16 | 2 | -14/+11 |
| | |||||
* | Recognize I24 and I32 formats from Oboe | Chris Robinson | 2023-03-15 | 1 | -1/+15 |
| | |||||
* | Allow Oboe to resample when requesting a sample rate | Chris Robinson | 2023-03-15 | 1 | -0/+3 |
| | |||||
* | Don't change the context's EAX version on every set/get call | Chris Robinson | 2023-03-11 | 2 | -44/+9 |
| | |||||
* | Don't commit EAX updates in applyAllUpdates | Chris Robinson | 2023-03-11 | 1 | -8/+8 |
| | | | | | | | | | | To avoid alcProcessContext causing deferred EAX properties to be committed. This simplifies updates when EAX has been initialized, but never or rarely used. Committing now always occurs in EAXSet when the property is non-deferred, updating the OpenAL object(s) with it (with OpenAL's updates then being applied based on the context's defer state). | ||||
* | Add queries for the buffer byte/sample/sec length | Chris Robinson | 2023-03-07 | 1 | -0/+1 |
| | | | | | | | | | | | | | These used to exist with the now-defunct AL_SOFT_buffer_samples extension, this just restores those queries without extra baggage. The sample length query are necessary when handling ADPCM buffers, since the size/channels*8/bits calculation is incorrect with ADPCM. 'Bits' is usually reported as 4 since most samples in a block are stored as nibbles, but that's only approximate and doesn't account for the block header. The average number of bits per sample in an ADPCM block can't be represented as an integer, so the more blocks there are stored in the buffer, the more inaccurate the calculation becomes. | ||||
* | Use macros for the likely/unlikely attributes | Chris Robinson | 2023-03-01 | 7 | -80/+81 |
| | | | | | The syntax parser for GCC 8 (and earlier?) fails when these attributes are in certain places. | ||||
* | Add aLaw formats to AL_SOFT_UHJ_ex | Chris Robinson | 2023-02-27 | 1 | -0/+3 |
| | |||||
* | Add AL_SOFT_UHJ_ex to the extension list | Chris Robinson | 2023-02-26 | 3 | -10/+8 |
| | |||||
* | Add formats for UHJ with muLaw, and ADPCM for 2-channel UHJ | Chris Robinson | 2023-02-26 | 1 | -1/+11 |
| | | | | | | | | | | ADPCM doesn't seem to be well defined for more than two channels, even though there doesn't seem to be any issue with simply increasing the channel step over interleaved data (ffmpeg refuses to create IMA4 or MSADPCM files with more than two channels, and its decoder behaves oddly different when channels > 2). So IMA4 and MSADPCM can only safely handle 2-channel UHJ. There's no problem with muLaw supporting 2-, 3-, or 4-channel UHJ though. | ||||
* | Support MSADPCM samples in the mixer | Chris Robinson | 2023-02-14 | 1 | -0/+1 |
| | |||||
* | Support IMA4 ADPCM as a mixing voice format | Chris Robinson | 2023-02-14 | 1 | -0/+4 |
| | |||||
* | Separate decoding and mixing from resampling | Chris Robinson | 2023-02-12 | 1 | -6/+0 |
| | |||||
* | Check a string for NULL before calling strtoull | Chris Robinson | 2023-02-11 | 1 | -8/+9 |
| | |||||
* | Use a span to hold the cubic table reference | Chris Robinson | 2023-02-10 | 1 | -1/+1 |
| |