mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-09 14:43:57 +01:00
Type agnosticism for some other variables that were not sampleCount...
... in some cases, this fixes narrowings.
This commit is contained in:
@@ -361,7 +361,7 @@ sampleCount EffectBassTreble::InstanceProcess(EffectBassTrebleState & data,
|
||||
data.a0Treble, data.a1Treble, data.a2Treble,
|
||||
data.b0Treble, data.b1Treble, data.b2Treble);
|
||||
|
||||
for (sampleCount i = 0; i < blockLen; i++) {
|
||||
for (decltype(blockLen) i = 0; i < blockLen; i++) {
|
||||
obuf[i] = DoFilter(data, ibuf[i]) * data.gain;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user