aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
Commit message (Collapse)AuthorAgeFilesLines
* Return the original value from CompExchange*Chris Robinson2014-03-093-30/+27
|
* Remove the Apple-specific atomic function implementations.Chris Robinson2014-03-091-36/+0
| | | | | | I'm not sure if they're even used, but they were rather ugly and are set to get even uglier since they don't follow normal conventions (missing exchange, and cas not returning the original value).
* Add an extension to support MSADPCM buffer formatsChris Robinson2014-03-041-1/+3
|
* Add an extension to alter the block alignment for buffer unpack/pack opsChris Robinson2014-03-041-3/+5
| | | | | | | | | | | | | | | | 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);
* Move PATH_MAX fallback definitions to alMain.hChris Robinson2014-02-274-31/+0
|
* Add back the missing PATH_MAX fallbackChris Robinson2014-02-271-0/+10
|
* Move OpenDataFile to helpers.c so other sources can use itChris Robinson2014-02-272-131/+133
|
* Add an explicit cast to make Windows happyChris Robinson2014-02-261-2/+2
|
* Don't fallback to relative filename handling if opening as absolute failsChris Robinson2014-02-261-26/+27
|
* Expand environment variables for all config option values when loadingChris Robinson2014-02-262-31/+77
|
* Support environment variables in the hrtf_tables config valueChris Robinson2014-02-251-4/+34
|
* Attempt to restore the Neon-enhanced ApplyCoeffsStep methodChris Robinson2014-02-231-7/+21
| | | | Unable to test, but it hopefully works.
* Revert "Apply HRTF coefficient stepping separately"Chris Robinson2014-02-234-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 headerChris Robinson2014-02-234-0/+31
|
* Move the default hrtf table to an external fileChris Robinson2014-02-232-878/+12
|
* Add a return value to FindHrtfFormatChris Robinson2014-02-232-7/+9
|
* Check the hrtf config option earlierChris Robinson2014-02-231-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 twiceChris Robinson2014-02-231-2/+3
|
* Search system-dependant data paths for relative hrtf table filenamesChris Robinson2014-02-231-1/+126
|
* Avoid using a global static buffer for config loadingChris Robinson2014-02-231-3/+51
|
* Fix indentationChris Robinson2014-02-231-20/+20
|
* Fix a race condition in the mmdevapi message queue threadChris Robinson2014-02-091-0/+6
|
* Add some extra traces to the mmdevapi backendChris Robinson2014-02-091-0/+8
| | | | Trying to track down the cause of some reported errors.
* Change the autowah to have a cutoff range of 20Hz to 20KHzChris Robinson2014-02-071-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 typesChris Robinson2014-02-072-4/+4
|
* Slightly shorten a long lineChris Robinson2014-02-021-1/+1
|
* Rework MIDI clock timingChris Robinson2014-02-024-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 MIDIChris Robinson2014-02-011-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 removalChris Robinson2014-02-011-14/+1
|
* Avoid duplicating code in alcGetIntegervChris Robinson2014-02-011-241/+152
|
* Add an alcGetInteger64vSOFT method and a way to get the device clockChris Robinson2014-02-011-2/+204
|
* Keep track of a device clock time, based on the number of samples processedChris Robinson2014-02-012-0/+32
|
* Properly fill the SF2 sample buffer on big endianChris Robinson2014-02-011-1/+1
|
* Fix an infinite loop when loading SF2 samples on big endian machinesChris Robinson2014-02-011-2/+5
|
* Implement dry and wet mixers for NeonChris Robinson2014-01-264-5/+91
| | | | Code provided by Philippe Simons <[email protected]>.
* bufferQueue's Clear method doesn't take any parametersChris Robinson2014-01-191-1/+1
|
* Clear the OpenSL buffer queue when stoppingChris Robinson2014-01-191-2/+15
|
* Check and trace INFO properties when reading themChris Robinson2014-01-191-3/+9
|
* Include sys/sysconf.h if available for sysconf()Chris Robinson2014-01-181-0/+3
|
* Check for 0-sized sf2 structure arraysChris Robinson2014-01-171-18/+18
|
* Remove redundancy in a couple error messagesChris Robinson2014-01-171-2/+2
|
* Put the version and irom storage into the Soundfont structChris Robinson2014-01-171-13/+18
|
* Fix a couple warning messages to show the correct instrument IDChris Robinson2014-01-171-8/+8
|
* Partially handle the irom sub-chunkChris Robinson2014-01-171-3/+30
| | | | Reject soundfonts that have ROM sample types without a valid irom sub-chunk.
* Better handle original key and overriding root keyChris Robinson2014-01-171-3/+10
|
* Rename aftertouch to keypressureChris Robinson2014-01-172-3/+3
|
* Add a config option to specify the extra MIDI volume scalingChris Robinson2014-01-171-3/+17
| | | | The value specified is in decibels.
* Use a proper struct for envelope propertiesChris Robinson2014-01-171-2/+2
|
* Handle fontsound sample types using explicit enum valuesChris Robinson2014-01-152-13/+41
| | | | | | Uses AL_MONO_SOFT, AL_RIGHT_SOFT, and AL_LEFT_SOFT. "Linked" samples types aren't explicitly supported due to being under-defined in the SF2 spec, nor are ROM samples currently.
* Use ALfontsound_setPropi to set fontsound sample propertiesChris Robinson2014-01-152-13/+30
| | | | And make sure the loop mode is properly translated for FluidSynth.