mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 22:33:34 +02:00
bugfix
This commit is contained in:
parent
9c6b7306c4
commit
fc5b4be459
1 changed files with 1 additions and 1 deletions
|
@ -1515,7 +1515,7 @@ bool AudioClient::switchInputToAudioDevice(const QAudioDeviceInfo& inputDeviceIn
|
|||
qCDebug(audioclient) << "Noise gate created with" << _desiredInputFormat.channelCount() << "channels.";
|
||||
|
||||
// generate audio callbacks at the network sample rate
|
||||
QTimer* _dummyAudioInput = new QTimer(this);
|
||||
_dummyAudioInput = new QTimer(this);
|
||||
connect(_dummyAudioInput, SIGNAL(timeout()), this, SLOT(handleDummyAudioInput()));
|
||||
_dummyAudioInput->start((int)(AudioConstants::NETWORK_FRAME_MSECS + 0.5f));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue