[AFV] Ref T730, pass channel count to input

This commit is contained in:
Klaus Basan
2019-10-13 02:38:23 +02:00
parent f76448fbaf
commit 745eb01000
2 changed files with 10 additions and 25 deletions

View File

@@ -40,7 +40,7 @@ namespace BlackCore
CAudioInputBuffer(QObject *parent = nullptr);
//! Start
void start();
void start(int channelCount);
//! Stop
void stop();
@@ -58,6 +58,7 @@ namespace BlackCore
private:
static constexpr qint64 frameSize = 960;
QByteArray m_buffer;
int m_channelCount = 1;
};
//! Opus data arguments