mirror of
https://github.com/lubosz/overte.git
synced 2025-04-26 19:55:27 +02:00
Fixed possible crashes/freezes on input audio switch
This commit is contained in:
parent
f963233a7b
commit
4290eb21ea
1 changed files with 1 additions and 1 deletions
|
@ -1403,7 +1403,7 @@ bool AudioClient::switchInputToAudioDevice(const QAudioDeviceInfo& inputDeviceIn
|
|||
_audioInput->stop();
|
||||
_inputDevice = NULL;
|
||||
|
||||
delete _audioInput;
|
||||
_audioInput->deleteLater();
|
||||
_audioInput = NULL;
|
||||
_numInputCallbackBytes = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue