Browse Source

Updated some old docs

tags/2021-05-28
ed 5 years ago
parent
commit
b235b8de09
3 changed files with 4 additions and 5 deletions
  1. +1
    -1
      modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.cpp
  2. +1
    -1
      modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h
  3. +2
    -3
      modules/juce_audio_devices/audio_io/juce_AudioIODeviceType.h

+ 1
- 1
modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.cpp View File

@@ -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;
}


+ 1
- 1
modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h View File

@@ -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.
*/


+ 2
- 3
modules/juce_audio_devices/audio_io/juce_AudioIODeviceType.h View File

@@ -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;


Loading…
Cancel
Save