aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/converter.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a higher quality bsinc resampler using 24 sample pointsChris Robinson2017-08-271-1/+1
| | | | | | | This improves the transition width, allowing more of the higher frequencies remain audible. It would be preferrable to have an upper limit of 32 points instead of 48, to reduce the overall table size and the CPU cost for down- sampling.
* Rename the bsinc resampler to bsinc12Chris Robinson2017-08-251-1/+1
|
* Store the sinc4 table in the filter stateChris Robinson2017-08-161-1/+1
| | | | Also rename the resampler functions to remove the unnecessary '32' token.
* Use macros to set and restore the mixer FPU modeChris Robinson2017-07-131-6/+4
|
* Calculate the converter stepping value using floating pointChris Robinson2017-06-281-3/+3
|
* Round the converter's stepping valueChris Robinson2017-06-261-2/+3
|
* Convert all input samples in the loopChris Robinson2017-06-261-2/+2
| | | | Instead of potentially leaving 1 sample that requires another loop iteration.
* Use the bsinc resampler for the converterChris Robinson2017-06-251-6/+14
|
* Use the correct destination channel offsetChris Robinson2017-06-231-2/+2
|
* Don't report any output samples for no input samplesChris Robinson2017-06-231-0/+6
|
* Forward Sample_ALuint to Sample_ALintChris Robinson2017-06-231-1/+1
|
* Stop conversion when no more source samples are availableChris Robinson2017-06-221-3/+4
|
* Use a different way to get the size of structs with flexible array membersChris Robinson2017-04-181-1/+1
|
* Mark some pointers with restrictChris Robinson2017-04-131-2/+4
|
* Store the ambisonic order separate from the channel enumChris Robinson2017-04-121-1/+1
|
* Remove an unnecessary variableChris Robinson2017-04-111-6/+2
|
* Use the correct channel conversion functionsChris Robinson2017-04-111-16/+16
|
* Add a mono<->stereo converterChris Robinson2017-04-111-0/+122
| | | | This converter always outputs floats, and uses energy-preserving scaling.
* Update the given source pointer in the sample converterChris Robinson2017-04-101-4/+4
|
* Add a sample converterChris Robinson2017-04-101-0/+332
This is intended to do conversions for interleaved samples, and supports changing from one DevFmtType to another as well as resampling. It does not handle remixing channels. The mixer is more optimized to use the resampling functions directly. However, this should prove useful for recording with certain backends that won't do the conversion themselves.