Merge pull request #2701 from ZappoMan/master

fix switching audio device bug
This commit is contained in:
Brad Hefta-Gaub 2014-04-20 20:29:57 -07:00
commit 697036bf47

View file

@ -1068,7 +1068,6 @@ bool Audio::switchOutputToAudioDevice(const QAudioDeviceInfo& outputDeviceInfo)
delete _audioOutput; delete _audioOutput;
_audioOutput = NULL; _audioOutput = NULL;
_numInputCallbackBytes = 0;
_loopbackOutputDevice = NULL; _loopbackOutputDevice = NULL;
delete _loopbackAudioOutput; delete _loopbackAudioOutput;