mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-07 17:16:02 -05: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);
|
||||
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)
|
||||
{
|
||||
|
@ -88,6 +88,10 @@ bool AudioOutput::start(int device, int rate)
|
||||
m_audioFormat = devInfo.nearestFormat(m_audioFormat);
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user