mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-09-11 11:17:48 -04: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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
peak += srcmix->currentInput->peak;
|
peak += srcmix->currentInput->peak * srcmix->gain;
|
||||||
|
|
||||||
if (srcmix->currentInput->channels == 1) {
|
if (srcmix->currentInput->channels == 1) {
|
||||||
for (int i = 0; i < nBufferFrames; i++) {
|
for (int i = 0; i < nBufferFrames; i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user