mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AudioDeviceManager: Always save audioDeviceBufferSize
This commit is contained in:
parent
914f55683c
commit
951b02c86d
1 changed files with 2 additions and 4 deletions
|
|
@ -922,10 +922,8 @@ void AudioDeviceManager::updateXml()
|
|||
|
||||
if (currentAudioDevice != nullptr)
|
||||
{
|
||||
lastExplicitSettings->setAttribute ("audioDeviceRate", currentAudioDevice->getCurrentSampleRate());
|
||||
|
||||
if (currentAudioDevice->getDefaultBufferSize() != currentAudioDevice->getCurrentBufferSizeSamples())
|
||||
lastExplicitSettings->setAttribute ("audioDeviceBufferSize", currentAudioDevice->getCurrentBufferSizeSamples());
|
||||
lastExplicitSettings->setAttribute ("audioDeviceRate", currentAudioDevice->getCurrentSampleRate());
|
||||
lastExplicitSettings->setAttribute ("audioDeviceBufferSize", currentAudioDevice->getCurrentBufferSizeSamples());
|
||||
|
||||
if (! currentSetup.useDefaultInputChannels)
|
||||
lastExplicitSettings->setAttribute ("audioDeviceInChans", currentSetup.inputChannels.toString (2));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue