diff options
Diffstat (limited to 'core/voice.cpp')
-rw-r--r-- | core/voice.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/voice.cpp b/core/voice.cpp index 48a2de51..8e42500e 100644 --- a/core/voice.cpp +++ b/core/voice.cpp @@ -900,9 +900,9 @@ void Voice::prepare(DeviceBase *device) */ if(mFmtChannels == FmtUHJ2) { - mChans[0].mAmbiLFScale = 0.661f; - mChans[1].mAmbiLFScale = 1.293f; - mChans[2].mAmbiLFScale = 1.293f; + mChans[0].mAmbiLFScale = UhjDecoder::sWLFScale; + mChans[1].mAmbiLFScale = UhjDecoder::sXYLFScale; + mChans[2].mAmbiLFScale = UhjDecoder::sXYLFScale; } mFlags.set(VoiceIsAmbisonic); } @@ -922,9 +922,9 @@ void Voice::prepare(DeviceBase *device) chandata.mDryParams.NFCtrlFilter = device->mNFCtrlFilter; std::fill_n(chandata.mWetParams.begin(), device->NumAuxSends, SendParams{}); } - mChans[0].mAmbiLFScale = 0.661f; - mChans[1].mAmbiLFScale = 1.293f; - mChans[2].mAmbiLFScale = 1.293f; + mChans[0].mAmbiLFScale = UhjDecoder::sWLFScale; + mChans[1].mAmbiLFScale = UhjDecoder::sXYLFScale; + mChans[2].mAmbiLFScale = UhjDecoder::sXYLFScale; mFlags.set(VoiceIsAmbisonic); } else |