Merge pull request #2075 from dforsi/fix/warnings

Fix "More '%' conversions than data arguments"
This commit is contained in:
Edouard Griffiths 2024-04-20 20:28:34 +02:00 committed by GitHub
commit ba4c8a42fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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",