Merge pull request #4166 from ctrlaltdavid/20279

Temporarily re-enable audio selection on Windows
This commit is contained in:
Brad Hefta-Gaub 2015-01-26 12:08:53 -08:00
commit d207304db0

View file

@ -118,7 +118,9 @@ void Audio::audioMixerKilled() {
QAudioDeviceInfo getNamedAudioDeviceForMode(QAudio::Mode mode, const QString& deviceName) {
QAudioDeviceInfo result;
#ifdef WIN32
// Temporarily enable audio device selection in Windows again to test how it behaves now
//#ifdef WIN32
#if FALSE
// NOTE
// this is a workaround for a windows only QtBug https://bugreports.qt-project.org/browse/QTBUG-16117
// static QAudioDeviceInfo objects get deallocated when QList<QAudioDevieInfo> objects go out of scope