mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 18:35:35 +08:00
[AFV] Ref T730, pass channel count to input
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user