This commit is contained in:
Klaus Basan
2020-01-21 18:07:24 +01:00
parent bda20f8ff1
commit f9bc5ceec4

View File

@@ -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);