mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
refs #316 Swiftcore, swiftgui, and samples use CLogHandler to display subscribed messages.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user