diff --git a/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.cpp b/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.cpp index bc47270775..a19c7b05e3 100644 --- a/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.cpp +++ b/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.cpp @@ -704,7 +704,7 @@ void AudioDeviceManager::restartLastAudioDevice() { // This method will only reload the last device that was running // before closeAudioDevice() was called - you need to actually open - // one first, with setAudioDevice(). + // one first, with setAudioDeviceSetup(). jassertfalse; return; } diff --git a/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h b/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h index ac490c0d23..d5c6f03fff 100644 --- a/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h +++ b/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h @@ -267,7 +267,7 @@ public: Note that this only reloads the last device that was running before closeAudioDevice() was called - it doesn't reload any kind of saved-state, - and can only be called after a device has been opened with SetAudioDevice(). + and can only be called after a device has been opened with setAudioDeviceSetup(). If a device is already open, this call will do nothing. */ diff --git a/modules/juce_audio_devices/audio_io/juce_AudioIODeviceType.h b/modules/juce_audio_devices/audio_io/juce_AudioIODeviceType.h index eca32bf9f2..683d038a68 100644 --- a/modules/juce_audio_devices/audio_io/juce_AudioIODeviceType.h +++ b/modules/juce_audio_devices/audio_io/juce_AudioIODeviceType.h @@ -80,9 +80,8 @@ public: The scanForDevices() method must have been called to create this list. - @param wantInputNames only really used by DirectSound where devices are split up - into inputs and outputs, this indicates whether to use - the input or output name to refer to a pair of devices. + @param wantInputNames for devices which have separate inputs and outputs + this determines which list of names is returned */ virtual StringArray getDeviceNames (bool wantInputNames = false) const = 0;