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