mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Trivial
This commit is contained in:
@@ -108,7 +108,7 @@ namespace BlackCore
|
||||
m_device = inputDevice;
|
||||
|
||||
QAudioFormat inputFormat;
|
||||
inputFormat.setSampleRate(m_sampleRate);
|
||||
inputFormat.setSampleRate(m_sampleRate); // normally 48000
|
||||
inputFormat.setChannelCount(1);
|
||||
inputFormat.setSampleSize(16);
|
||||
inputFormat.setSampleType(QAudioFormat::SignedInt);
|
||||
|
||||
Reference in New Issue
Block a user