Browse Source

Print out some debug infos about audio processing

dynamic_words_list
squeaky otter 5 years ago
parent
commit
e9a8dbb7cb
Signed by: dashie GPG Key ID: C2D57B325840B755
  1. 3
      MainWindow.cpp

3
MainWindow.cpp

@ -107,6 +107,9 @@ MainWindow::createAudioOutput()
if (!info.isFormatSupported(settings)) {
qWarning() << "Raw audio format not supported by backend, cannot play audio.";
}
qDebug() << "Using: SampleRate 44100, SampleSize 16, Codec audio/pcm, ByteOrder LittleEndian, SampleType SignedInt";
qDebug() << "Using audio device" << info.deviceName();
qDebug() << "Supported: SampleRate" << info.supportedSampleRates() << "SampleSize" << info.supportedSampleSizes() << "Codec" << info.supportedCodecs() << "ByteOrder" << info.supportedByteOrders() << "SampleType" << info.supportedSampleTypes();
m_audioOutput = new QAudioOutput(settings);
return m_audioOutput;

Loading…
Cancel
Save