mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55: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()
|
AudioDeviceManager::AudioDeviceManager()
|
||||||
{
|
{
|
||||||
|
qDebug("AudioDeviceManager::AudioDeviceManager: scan input devices");
|
||||||
m_inputDevicesInfo = QAudioDeviceInfo::availableDevices(QAudio::AudioInput);
|
m_inputDevicesInfo = QAudioDeviceInfo::availableDevices(QAudio::AudioInput);
|
||||||
m_outputDevicesInfo = QAudioDeviceInfo::availableDevices(QAudio::AudioOutput);
|
|
||||||
|
|
||||||
for (int i = 0; i < m_inputDevicesInfo.size(); i++) {
|
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: 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++) {
|
for (int i = 0; i < m_outputDevicesInfo.size(); i++) {
|
||||||
qDebug("AudioDeviceManager::AudioDeviceManager: output device #%d: %s", i, qPrintable(m_outputDevicesInfo[i].deviceName()));
|
qDebug("AudioDeviceManager::AudioDeviceManager: output device #%d: %s", i, qPrintable(m_outputDevicesInfo[i].deviceName()));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user