From e89073696502b5401ae5fd6c3dd65f2b1fa6307c Mon Sep 17 00:00:00 2001 From: reuk Date: Tue, 4 Nov 2025 14:14:09 +0000 Subject: [PATCH] AudioDeviceManager: Improve initialise() parameter naming --- .../juce_audio_devices/audio_io/juce_AudioDeviceManager.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h b/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h index 4c1e6e5171..1e745035be 100644 --- a/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h +++ b/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h @@ -163,10 +163,10 @@ public: This will attempt to open either a default audio device, or one that was previously saved as XML. - @param numInputChannelsNeeded the maximum number of input channels your app would like to + @param maxNumInputChannelsNeeded the maximum number of input channels your app would like to use (the actual number of channels opened may be less than the number requested) - @param numOutputChannelsNeeded the maximum number of output channels your app would like to + @param maxNumOutputChannelsNeeded the maximum number of output channels your app would like to use (the actual number of channels opened may be less than the number requested) @param savedState either a previously-saved state that was produced @@ -191,8 +191,8 @@ public: @returns an error message if anything went wrong, or an empty string if it worked ok. */ - String initialise (int numInputChannelsNeeded, - int numOutputChannelsNeeded, + String initialise (int maxNumInputChannelsNeeded, + int maxNumOutputChannelsNeeded, const XmlElement* savedState, bool selectDefaultDeviceOnFailure, const String& preferredDefaultDeviceName = String(),