mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 891254 - Fix the usage of uninitialized samples when the input to a ConvolverNode has a volume; r=roc
--HG-- extra : rebase_source : 2d7e6c393e66096cf410adce0924843ad2eda61b
This commit is contained in:
parent
0169e72a77
commit
2e9a3a5936
@ -144,7 +144,7 @@ public:
|
||||
for (uint32_t i = 0; i < numChannels; ++i) {
|
||||
const float* src = static_cast<const float*>(aInput.mChannelData[i]);
|
||||
float* dest = static_cast<float*>(const_cast<void*>(input.mChannelData[i]));
|
||||
AudioBlockAddChannelWithScale(src, aInput.mVolume, dest);
|
||||
AudioBlockCopyChannelWithScale(src, aInput.mVolume, dest);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user