mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
Merge pull request #2075 from dforsi/fix/warnings
Fix "More '%' conversions than data arguments"
This commit is contained in:
commit
ba4c8a42fc
@ -103,7 +103,7 @@ bool AudioInputDevice::start(int device, int rate)
|
|||||||
if (!devInfo.isFormatSupported(m_audioFormat))
|
if (!devInfo.isFormatSupported(m_audioFormat))
|
||||||
{
|
{
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
#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
|
#else
|
||||||
m_audioFormat = devInfo.deviceInfo().nearestFormat(m_audioFormat);
|
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",
|
qWarning("AudioInputDevice::start: %d Hz S16_LE audio format not supported. Nearest is sampleRate: %d channelCount: %d sampleSize: %d sampleType: %d",
|
||||||
|
Loading…
Reference in New Issue
Block a user