audio: removed hardcoded stereo value
Fixes bug that caused AudioMonitor to only show two channels regardless of the actual number of channels being mixed.
This commit is contained in:
@@ -151,7 +151,7 @@ void AudioOutputManager::ProcessAverages(const char *data, int length)
|
||||
return;
|
||||
}
|
||||
|
||||
emit SentSamples(AudioBufferAverage::ProcessAverages(data, length));
|
||||
emit SentSamples(AudioBufferAverage::ProcessAverages(data, length, output_.get()->format().channelCount()));
|
||||
}
|
||||
|
||||
OLIVE_NAMESPACE_EXIT
|
||||
|
||||
Reference in New Issue
Block a user