mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-04 20:37:11 +02:00
Temporarily re-enable audio selection on Windows
This is to test current behavior on different users' PCs before re-enabling permanently.
This commit is contained in:
parent
18e0a91ea8
commit
9aaa3a6fe4
1 changed files with 3 additions and 1 deletions
|
@ -118,7 +118,9 @@ void Audio::audioMixerKilled() {
|
||||||
|
|
||||||
QAudioDeviceInfo getNamedAudioDeviceForMode(QAudio::Mode mode, const QString& deviceName) {
|
QAudioDeviceInfo getNamedAudioDeviceForMode(QAudio::Mode mode, const QString& deviceName) {
|
||||||
QAudioDeviceInfo result;
|
QAudioDeviceInfo result;
|
||||||
#ifdef WIN32
|
// Temporarily enable audio device selection in Windows again to test how it behaves now
|
||||||
|
//#ifdef WIN32
|
||||||
|
#if FALSE
|
||||||
// NOTE
|
// NOTE
|
||||||
// this is a workaround for a windows only QtBug https://bugreports.qt-project.org/browse/QTBUG-16117
|
// 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
|
// static QAudioDeviceInfo objects get deallocated when QList<QAudioDevieInfo> objects go out of scope
|
||||||
|
|
Loading…
Reference in a new issue