Add a sample converter
commit6cc69c8d94744d66e68ffffb9b71f6714d86e710
authorChris Robinson <chris.kcat@gmail.com>
Mon, 10 Apr 2017 16:17:10 +0000 (10 09:17 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Mon, 10 Apr 2017 16:26:06 +0000 (10 09:26 -0700)
tree1fd85a1f2eb40e5383065560bb8d1a0de8df06ed
parent81527cdbddc52338f5fb3c8b79139bf9d9186d3a
Add a sample converter

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.
Alc/converter.c [new file with mode: 0644]
Alc/converter.h [new file with mode: 0644]
Alc/mixer.c
CMakeLists.txt
OpenAL32/Include/alu.h