1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 17:28:50 -05:00

Audio: info message if format is OK

This commit is contained in:
f4exb 2017-08-06 02:26:34 +02:00
parent 4c37f40ed6
commit d0f718d982
2 changed files with 8 additions and 0 deletions

View File

@ -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)
{

View File

@ -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)
{