mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-25 13:18:37 -05:00
missing peak gain apply
This commit is contained in:
parent
c69d05010c
commit
c221ee2216
@ -104,7 +104,7 @@ static int audioCallback(void *outputBuffer, void *inputBuffer, unsigned int nBu
|
||||
continue;
|
||||
}
|
||||
|
||||
peak += srcmix->currentInput->peak;
|
||||
peak += srcmix->currentInput->peak * srcmix->gain;
|
||||
|
||||
if (srcmix->currentInput->channels == 1) {
|
||||
for (int i = 0; i < nBufferFrames; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user