diff options
author | Chris Robinson <[email protected]> | 2020-04-16 02:05:07 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-04-16 02:05:07 -0700 |
commit | 3cb12da7657f856ae8acb734d36521eb69777a92 (patch) | |
tree | d10828deb5a6d8e0d23e07cf748fe8b414fcbfbe /alc | |
parent | dc41f276d8a7c6c870aebe6123b25e3de4a32545 (diff) |
Move a type to where it's used
Diffstat (limited to 'alc')
-rw-r--r-- | alc/alu.cpp | 4 | ||||
-rw-r--r-- | alc/alu.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/alc/alu.cpp b/alc/alu.cpp index af9c4ad0..601ed5d4 100644 --- a/alc/alu.cpp +++ b/alc/alu.cpp @@ -151,6 +151,10 @@ struct ChanMap { float elevation; }; +using HrtfDirectMixerFunc = void(*)(FloatBufferLine &LeftOut, FloatBufferLine &RightOut, + const al::span<const FloatBufferLine> InSamples, float2 *AccumSamples, DirectHrtfState *State, + const size_t BufferSize); + HrtfDirectMixerFunc MixDirectHrtf{MixDirectHrtf_<CTag>}; inline HrtfDirectMixerFunc SelectHrtfMixer(void) @@ -21,9 +21,6 @@ struct ALeffectslot; using MixerFunc = void(*)(const al::span<const float> InSamples, const al::span<FloatBufferLine> OutBuffer, float *CurrentGains, const float *TargetGains, const size_t Counter, const size_t OutPos); -using HrtfDirectMixerFunc = void(*)(FloatBufferLine &LeftOut, FloatBufferLine &RightOut, - const al::span<const FloatBufferLine> InSamples, float2 *AccumSamples, DirectHrtfState *State, - const size_t BufferSize); extern MixerFunc MixSamples; |