Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use specialized methods for converting ALshort to IMA4 and MSADPCM | Chris Robinson | 2014-03-05 | 1 | -2/+32 |
| | | | | As before, to avoid unnecessary direct copies | ||||
* | Use specialized methods for converting IMA4 and MSADPCM to ALshort | Chris Robinson | 2014-03-05 | 1 | -8/+39 |
| | | | | | Since the decoder methods already convert to ALshort, there's no need to use a temp buffer that's just going to copy directly to the destination. | ||||
* | Use maxi to clamp an int to a lower-bound | Chris Robinson | 2014-03-05 | 1 | -1/+1 |
| | |||||
* | Expand the sign bit on the initial MSADPCM delta value | Chris Robinson | 2014-03-05 | 1 | -0/+1 |
| | |||||
* | Add an extension to support MSADPCM buffer formats | Chris Robinson | 2014-03-04 | 5 | -28/+342 |
| | |||||
* | Add an extension to alter the block alignment for buffer unpack/pack ops | Chris Robinson | 2014-03-04 | 4 | -19/+85 |
| | | | | | | | | | | | | | | | | This is for unpacking (reading, e.g. alBufferData) and packing (writing, e.g. alGetBufferSamplesSOFT) operations. The alignments are specified in sample frames, with 0 meaning the default (65 for IMA4, 1 otherwise). IMA4 alignment must be a multiple of 8, plus 1 (e.g. alignment = n*8 + 1), otherwise an error will occur during (un)packing. Chenging the block alignment does not affect already-loaded sample data, only future unpack/pack operations... so for example, this is perfectly valid: // Load mono IMA4 data with a block alignment of 1024 bytes, or 2041 sample // frames. alBufferi(buffer, AL_UNPACK_BLOCK_ALIGNMENT_SOFT, 2041); alBufferData(buffer, AL_FORMAT_MONO_IMA4, data, data_len, srate); alBufferi(buffer, AL_UNPACK_BLOCK_ALIGNMENT_SOFT, 0); | ||||
* | Parameterize the block alignment | Chris Robinson | 2014-03-04 | 1 | -111/+152 |
| | |||||
* | Use alloca for temp space decoding/encoding IMA4 blocks | Chris Robinson | 2014-03-03 | 3 | -4/+28 |
| | |||||
* | Reduce explicit template declarations and ignore IMA4-to-IMA4 conversions | Chris Robinson | 2014-03-03 | 1 | -159/+35 |
| | | | | | | Since we never store IMA4 data in buffers, we should only ever convert from (user input) or to (user output) IMA4. Once we allow user-specified pack/unpack block alignment, this wouldn't be a simple memcpy anyway. | ||||
* | Store the original frame size alignment in the buffer | Chris Robinson | 2014-03-03 | 3 | -12/+29 |
| | |||||
* | Move PATH_MAX fallback definitions to alMain.h | Chris Robinson | 2014-02-27 | 5 | -31/+9 |
| | |||||
* | Add back the missing PATH_MAX fallback | Chris Robinson | 2014-02-27 | 1 | -0/+10 |
| | |||||
* | Use OpenDataFile to load soundfonts relative to data directories | Chris Robinson | 2014-02-27 | 2 | -2/+8 |
| | |||||
* | Add a note that absolute paths may be used for hrtf_tables | Chris Robinson | 2014-02-27 | 1 | -0/+1 |
| | |||||
* | Move OpenDataFile to helpers.c so other sources can use it | Chris Robinson | 2014-02-27 | 3 | -131/+134 |
| | |||||
* | Add an explicit cast to make Windows happy | Chris Robinson | 2014-02-26 | 1 | -2/+2 |
| | |||||
* | Don't fallback to relative filename handling if opening as absolute fails | Chris Robinson | 2014-02-26 | 1 | -26/+27 |
| | |||||
* | Expand environment variables for all config option values when loading | Chris Robinson | 2014-02-26 | 2 | -31/+77 |
| | |||||
* | Support environment variables in the hrtf_tables config value | Chris Robinson | 2014-02-25 | 1 | -4/+34 |
| | |||||
* | Fix a config option comment | Chris Robinson | 2014-02-23 | 1 | -3/+2 |
| | |||||
* | Attempt to restore the Neon-enhanced ApplyCoeffsStep method | Chris Robinson | 2014-02-23 | 1 | -7/+21 |
| | | | | Unable to test, but it hopefully works. | ||||
* | Revert "Apply HRTF coefficient stepping separately" | Chris Robinson | 2014-02-23 | 4 | -19/+74 |
| | | | | | | | | | This reverts commit 25b9c3d0c15e959d544f5d0ac7ea507ea5f6d69f. Conflicts: Alc/mixer_neon.c Unfortunately this also undoes the Neon-enhanced ApplyCoeffsStep method. | ||||
* | Move HRTF macros and function declarations to a separate header | Chris Robinson | 2014-02-23 | 6 | -14/+32 |
| | |||||
* | Move the default hrtf table to an external file | Chris Robinson | 2014-02-23 | 6 | -884/+28 |
| | |||||
* | Add a return value to FindHrtfFormat | Chris Robinson | 2014-02-23 | 3 | -8/+10 |
| | |||||
* | Check the hrtf config option earlier | Chris Robinson | 2014-02-23 | 1 | -8/+8 |
| | | | | | This is to make sure it tries to find an HRTF-compatible format before reseting the device, just like when using ALC_HRTF_SOFT. | ||||
* | Avoid checking the hrtf config option twice | Chris Robinson | 2014-02-23 | 1 | -2/+3 |
| | |||||
* | Search system-dependant data paths for relative hrtf table filenames | Chris Robinson | 2014-02-23 | 2 | -4/+133 |
| | |||||
* | Avoid using a global static buffer for config loading | Chris Robinson | 2014-02-23 | 1 | -3/+51 |
| | |||||
* | Fix indentation | Chris Robinson | 2014-02-23 | 1 | -20/+20 |
| | |||||
* | Fix a race condition in the mmdevapi message queue thread | Chris Robinson | 2014-02-09 | 1 | -0/+6 |
| | |||||
* | Add some extra traces to the mmdevapi backend | Chris Robinson | 2014-02-09 | 1 | -0/+8 |
| | | | | Trying to track down the cause of some reported errors. | ||||
* | Change the autowah to have a cutoff range of 20Hz to 20KHz | Chris Robinson | 2014-02-07 | 1 | -1/+1 |
| | | | | | | This is the same as allowed in the SF2 spec for its filter cutoff generator, which can be used for a wah effect in MIDI. It makes sense to use a similar range here. | ||||
* | Fix some types | Chris Robinson | 2014-02-07 | 2 | -4/+4 |
| | |||||
* | Slightly shorten a long line | Chris Robinson | 2014-02-02 | 1 | -1/+1 |
| | |||||
* | Rework MIDI clock timing | Chris Robinson | 2014-02-02 | 4 | -123/+62 |
| | | | | | | It's best to avoid using doubles in the mixer since the FPU's set to single- precision mode. The new clock timing is similar to the device clock timing, and should hopefully be less prone to drift caused by fp rounding errors. | ||||
* | Use nanosecond resolution for MIDI | Chris Robinson | 2014-02-01 | 1 | -2/+2 |
| | | | | | This makes the MIDI clock use the same resolution as the device clock and source latency and the device clock. | ||||
* | Remove an unnecessary special-case for the click removal | Chris Robinson | 2014-02-01 | 1 | -14/+1 |
| | |||||
* | Avoid duplicating code in alcGetIntegerv | Chris Robinson | 2014-02-01 | 1 | -241/+152 |
| | |||||
* | Add an alcGetInteger64vSOFT method and a way to get the device clock | Chris Robinson | 2014-02-01 | 2 | -2/+215 |
| | |||||
* | Keep track of a device clock time, based on the number of samples processed | Chris Robinson | 2014-02-01 | 3 | -0/+39 |
| | |||||
* | Properly fill the SF2 sample buffer on big endian | Chris Robinson | 2014-02-01 | 1 | -1/+1 |
| | |||||
* | Fix an infinite loop when loading SF2 samples on big endian machines | Chris Robinson | 2014-02-01 | 1 | -2/+5 |
| | |||||
* | Implement dry and wet mixers for Neon | Chris Robinson | 2014-01-26 | 4 | -5/+91 |
| | | | | Code provided by Philippe Simons <[email protected]>. | ||||
* | bufferQueue's Clear method doesn't take any parameters | Chris Robinson | 2014-01-19 | 1 | -1/+1 |
| | |||||
* | Clear the OpenSL buffer queue when stopping | Chris Robinson | 2014-01-19 | 1 | -2/+15 |
| | |||||
* | Check and trace INFO properties when reading them | Chris Robinson | 2014-01-19 | 1 | -3/+9 |
| | |||||
* | Include sys/sysconf.h if available for sysconf() | Chris Robinson | 2014-01-18 | 3 | -0/+7 |
| | |||||
* | Check for 0-sized sf2 structure arrays | Chris Robinson | 2014-01-17 | 1 | -18/+18 |
| | |||||
* | Remove redundancy in a couple error messages | Chris Robinson | 2014-01-17 | 1 | -2/+2 |
| |