History

Remove debug prints

Vladyslav Stelmakhovskyi committed 9 years ago

Commit d5228641 parent e789b691 file · +0 −5Browse files

Showing the changes to interface/src/scripting/AudioDeviceScriptingInterface.cpp (1 of 1 file). Show all

Unified · Split

interface/src/scripting/AudioDeviceScriptingInterface.cpp+0−5
@@ -57,12 +57,10 @@ bool AudioDeviceScriptingInterface::setInputDevice(const QString& deviceName) { · 56 unmodified lines
5757
5858 bool AudioDeviceScriptingInterface::setOutputDevice(const QString& deviceName) {
5959 bool result;
60− QTime a; a.start();
6160 QMetaObject::invokeMethod(DependencyManager::get<AudioClient>().data(), "switchOutputToAudioDevice",
6261 Qt::BlockingQueuedConnection,
6362 Q_RETURN_ARG(bool, result),
6463 Q_ARG(const QString&, deviceName));
65− qDebug() << "switching to" << deviceName << "elapsed" << a.elapsed();
6664 return result;
6765 }
6866
@@ -208,8 +206,6 @@ void AudioDeviceScriptingInterface::currentDeviceUpdate(const QString &name, QAu · 139 unmodified lines
208206 QVector<int> role;
209207 role.append(SelectedRole);
210208
211− qDebug() << "device update" << name << mode;
212−
213209 for (int i = 0; i < _devices.size(); i++) {
214210 AudioDeviceInfo di = _devices.at(i);
215211 if (di.mode != mode)
@@ -223,7 +219,6 @@ void AudioDeviceScriptingInterface::currentDeviceUpdate(const QString &name, QAu · 7 unmodified lines
223219 di.selected = true;
224220 _devices[i] = di;
225221 emit dataChanged(index(i, 0), index(i, 0), role);
226− qDebug() << "device updated" << di.name << i;
227222 }
228223 }
229224 }