mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-22 17:45:48 -05:00
AudioDeviceManager: more debug messages
This commit is contained in:
parent
863c7e15ef
commit
8d99e5c980
@ -56,13 +56,16 @@ QDataStream& operator>>(QDataStream& ds, AudioDeviceManager::OutputDeviceInfo& i
|
||||
|
||||
AudioDeviceManager::AudioDeviceManager()
|
||||
{
|
||||
qDebug("AudioDeviceManager::AudioDeviceManager: scan input devices");
|
||||
m_inputDevicesInfo = QAudioDeviceInfo::availableDevices(QAudio::AudioInput);
|
||||
m_outputDevicesInfo = QAudioDeviceInfo::availableDevices(QAudio::AudioOutput);
|
||||
|
||||
for (int i = 0; i < m_inputDevicesInfo.size(); i++) {
|
||||
qDebug("AudioDeviceManager::AudioDeviceManager: input device #%d: %s", i, qPrintable(m_inputDevicesInfo[i].deviceName()));
|
||||
}
|
||||
|
||||
qDebug("AudioDeviceManager::AudioDeviceManager: scan output devices");
|
||||
m_outputDevicesInfo = QAudioDeviceInfo::availableDevices(QAudio::AudioOutput);
|
||||
|
||||
for (int i = 0; i < m_outputDevicesInfo.size(); i++) {
|
||||
qDebug("AudioDeviceManager::AudioDeviceManager: output device #%d: %s", i, qPrintable(m_outputDevicesInfo[i].deviceName()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user