mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed some whitespace style and cleaned up some code using C++11
This commit is contained in:
parent
405a6aeaed
commit
8ed41ed14b
95 changed files with 310 additions and 320 deletions
|
|
@ -442,7 +442,7 @@ String AudioDeviceManager::setAudioDeviceSetup (const AudioDeviceSetup& newSetup
|
|||
jassert (&newSetup != ¤tSetup); // this will have no effect
|
||||
|
||||
if (newSetup == currentSetup && currentAudioDevice != nullptr)
|
||||
return String();
|
||||
return {};
|
||||
|
||||
if (! (newSetup == currentSetup))
|
||||
sendChangeMessage();
|
||||
|
|
@ -462,7 +462,7 @@ String AudioDeviceManager::setAudioDeviceSetup (const AudioDeviceSetup& newSetup
|
|||
if (treatAsChosenDevice)
|
||||
updateXml();
|
||||
|
||||
return String();
|
||||
return {};
|
||||
}
|
||||
|
||||
if (currentSetup.inputDeviceName != newInputDeviceName
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue