mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-02 13:17:48 -04:00
Audio: info message if format is OK
This commit is contained in:
parent
4c37f40ed6
commit
d0f718d982
@ -88,6 +88,10 @@ bool AudioInput::start(int device, int rate)
|
|||||||
m_audioFormat = devInfo.nearestFormat(m_audioFormat);
|
m_audioFormat = devInfo.nearestFormat(m_audioFormat);
|
||||||
qWarning("AudioInput::start: %d Hz S16_LE audio format not supported. New rate: %d", rate, m_audioFormat.sampleRate());
|
qWarning("AudioInput::start: %d Hz S16_LE audio format not supported. New rate: %d", rate, m_audioFormat.sampleRate());
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
qInfo("AudioInput::start: audio format OK");
|
||||||
|
}
|
||||||
|
|
||||||
if (m_audioFormat.sampleSize() != 16)
|
if (m_audioFormat.sampleSize() != 16)
|
||||||
{
|
{
|
||||||
|
@ -88,6 +88,10 @@ bool AudioOutput::start(int device, int rate)
|
|||||||
m_audioFormat = devInfo.nearestFormat(m_audioFormat);
|
m_audioFormat = devInfo.nearestFormat(m_audioFormat);
|
||||||
qWarning("AudioOutput::start: %d Hz S16_LE audio format not supported. New rate: %d", rate, m_audioFormat.sampleRate());
|
qWarning("AudioOutput::start: %d Hz S16_LE audio format not supported. New rate: %d", rate, m_audioFormat.sampleRate());
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
qInfo("AudioOutput::start: audio format OK");
|
||||||
|
}
|
||||||
|
|
||||||
if (m_audioFormat.sampleSize() != 16)
|
if (m_audioFormat.sampleSize() != 16)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user