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:
itsmattkc
2020-04-14 23:55:28 +10:00
parent 2646d424d8
commit fd1ecfae6f
4 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ class AudioBufferAverage
public:
AudioBufferAverage() = default;
static QVector<double> ProcessAverages(const char* data, int length);
static QVector<double> ProcessAverages(const char* data, int length, int channel_count);
};
OLIVE_NAMESPACE_EXIT