diff options
author | Chris Robinson <[email protected]> | 2019-08-07 11:43:53 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-08-07 11:43:53 -0700 |
commit | 5b33b4aa970b9ec7791d3cee34fe107038e7a8ca (patch) | |
tree | d120cf800b788c880bba25420fc4687d768b1f04 /alc/panning.cpp | |
parent | 7c069e29ee721b2d1294dea72aa48d73d45d2009 (diff) |
Make the post-process methods member functions
Diffstat (limited to 'alc/panning.cpp')
-rw-r--r-- | alc/panning.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/alc/panning.cpp b/alc/panning.cpp index 55af4747..d946d1fc 100644 --- a/alc/panning.cpp +++ b/alc/panning.cpp @@ -721,7 +721,7 @@ void aluInitRenderer(ALCdevice *device, ALint hrtf_id, HrtfRequestMode hrtf_appr InitCustomPanning(device, !!hqdec, pconf, speakermap); } if(device->AmbiDecoder) - device->PostProcess = ProcessAmbiDec; + device->PostProcess = &ALCdevice::ProcessAmbiDec; return; } @@ -802,7 +802,7 @@ void aluInitRenderer(ALCdevice *device, ALint hrtf_id, HrtfRequestMode hrtf_appr old_hrtf = nullptr; InitHrtfPanning(device); - device->PostProcess = ProcessHrtf; + device->PostProcess = &ALCdevice::ProcessHrtf; return; } device->HrtfStatus = ALC_HRTF_UNSUPPORTED_FORMAT_SOFT; @@ -824,7 +824,7 @@ no_hrtf: bs2b_set_params(device->Bs2b.get(), *cflevopt, device->Frequency); TRACE("BS2B enabled\n"); InitPanning(device); - device->PostProcess = ProcessBs2b; + device->PostProcess = &ALCdevice::ProcessBs2b; return; } } @@ -843,13 +843,13 @@ no_hrtf: device->Uhj_Encoder = al::make_unique<Uhj2Encoder>(); TRACE("UHJ enabled\n"); InitUhjPanning(device); - device->PostProcess = ProcessUhj; + device->PostProcess = &ALCdevice::ProcessUhj; return; } TRACE("Stereo rendering\n"); InitPanning(device); - device->PostProcess = ProcessAmbiDec; + device->PostProcess = &ALCdevice::ProcessAmbiDec; } |