refs #316 Swiftcore, swiftgui, and samples use CLogHandler to display subscribed messages.

This commit is contained in:
Mathew Sutcliffe
2014-09-25 21:53:23 +01:00
parent aef7135e28
commit dc4de279d0
10 changed files with 91 additions and 96 deletions

View File

@@ -502,16 +502,18 @@ namespace BlackSound
void CSoundGenerator::printAllQtSoundDevices()
{
qDebug() << "output";
QTextStream qtout(stdout);
qtout << "output" << endl;
foreach(QAudioDeviceInfo qd, QAudioDeviceInfo::availableDevices(QAudio::AudioOutput))
{
qDebug() << qd.deviceName();
qtout << qd.deviceName() << endl;
}
qDebug() << "input";
qtout << "input" << endl;
foreach(QAudioDeviceInfo qd, QAudioDeviceInfo::availableDevices(QAudio::AudioInput))
{
qDebug() << qd.deviceName();
qtout << qd.deviceName() << endl;
}