Skip to content

Commit

Permalink
Merge pull request #2075 from dforsi/fix/warnings
Browse files Browse the repository at this point in the history
Fix "More '%' conversions than data arguments"
  • Loading branch information
f4exb committed Apr 20, 2024
2 parents acc0665 + 613d9e4 commit ba4c8a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdrbase/audio/audioinputdevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ba4c8a4

Please sign in to comment.