694 |
<< "='" << portParam.data().value << "'" << endl; |
<< "='" << portParam.data().value << "'" << endl; |
695 |
} |
} |
696 |
} |
} |
697 |
// Set device index/id mapping. |
// Audio device index/id mapping. |
698 |
audioDeviceMap[device.deviceID()] = iDevice; |
audioDeviceMap[device.deviceID()] = iDevice; |
699 |
// Try to keep it snappy :) |
// Try to keep it snappy :) |
700 |
QApplication::eventLoop()->processEvents(QEventLoop::ExcludeUserInput); |
QApplication::eventLoop()->processEvents(QEventLoop::ExcludeUserInput); |
731 |
<< "='" << portParam.data().value << "'" << endl; |
<< "='" << portParam.data().value << "'" << endl; |
732 |
} |
} |
733 |
} |
} |
734 |
|
// MIDI device index/id mapping. |
735 |
|
midiDeviceMap[device.deviceID()] = iDevice; |
736 |
|
// Try to keep it snappy :) |
737 |
|
QApplication::eventLoop()->processEvents(QEventLoop::ExcludeUserInput); |
738 |
} |
} |
739 |
ts << endl; |
ts << endl; |
740 |
// Sampler channel mapping. |
// Sampler channel mapping. |
1401 |
QApplication::eventLoop()->processEvents(QEventLoop::ExcludeUserInput); |
QApplication::eventLoop()->processEvents(QEventLoop::ExcludeUserInput); |
1402 |
} |
} |
1403 |
m_pWorkspace->setUpdatesEnabled(true); |
m_pWorkspace->setUpdatesEnabled(true); |
1404 |
|
|
1405 |
|
// Remember to refresh devices |
1406 |
|
if (m_pDeviceForm) |
1407 |
|
m_pDeviceForm->refreshDevices(); |
1408 |
} |
} |
1409 |
|
|
1410 |
|
|