Merge pull request #2075 from dforsi/fix/warnings

Fix "More '%' conversions than data arguments"
pull/2080/head
Edouard Griffiths 2024-04-20 20:28:34 +02:00 zatwierdzone przez GitHub
commit ba4c8a42fc
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -103,7 +103,7 @@ bool AudioInputDevice::start(int device, int rate)
if (!devInfo.isFormatSupported(m_audioFormat))
{
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
qWarning("AudioInputDevice::start: %d Hz S16_LE audio format not supported.");
qWarning("AudioInputDevice::start: %d Hz S16_LE audio format not supported.", rate);
#else
m_audioFormat = devInfo.deviceInfo().nearestFormat(m_audioFormat);
qWarning("AudioInputDevice::start: %d Hz S16_LE audio format not supported. Nearest is sampleRate: %d channelCount: %d sampleSize: %d sampleType: %d",