mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
removed clang format issue, removed old attempt at getting defaults to startup correctly
This commit is contained in:
parent
e3db7a43a6
commit
fbc68e7f69
2 changed files with 1 additions and 2 deletions
|
@ -101,7 +101,6 @@ AudioDeviceList::AudioDeviceList(QAudio::Mode mode) : _mode(mode) {
|
|||
qDebug() << "Device name in settings for Desktop, Input" << setting3.get();
|
||||
_backupSelectedDesktopDeviceName = setting3.get();
|
||||
} else {
|
||||
_backupSelectedDesktopDeviceName = "default";
|
||||
qDebug() << "Device name in settings for Desktop, Input not set";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1535,7 +1535,7 @@ void AudioClient::prepareLocalAudioInjectors(std::unique_ptr<Lock> localAudioLoc
|
|||
if (_localToOutputResampler) {
|
||||
// resample to output sample rate
|
||||
int frames = _localToOutputResampler->render(_localMixBuffer, _localOutputMixBuffer,
|
||||
AudioConstants::NETWORK_FRAME_SAMPLES_PER_CHANNEL);
|
||||
AudioConstants::NETWORK_FRAME_SAMPLES_PER_CHANNEL);
|
||||
|
||||
// write to local injectors' ring buffer
|
||||
samples = frames * AudioConstants::STEREO;
|
||||
|
|
Loading…
Reference in a new issue