Skip to content

Commit e890736

Browse files
committed
AudioDeviceManager: Improve initialise() parameter naming
1 parent b1ec95d commit e890736

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,10 @@ class JUCE_API AudioDeviceManager : public ChangeBroadcaster
163163
This will attempt to open either a default audio device, or one that was
164164
previously saved as XML.
165165
166-
@param numInputChannelsNeeded the maximum number of input channels your app would like to
166+
@param maxNumInputChannelsNeeded the maximum number of input channels your app would like to
167167
use (the actual number of channels opened may be less than
168168
the number requested)
169-
@param numOutputChannelsNeeded the maximum number of output channels your app would like to
169+
@param maxNumOutputChannelsNeeded the maximum number of output channels your app would like to
170170
use (the actual number of channels opened may be less than
171171
the number requested)
172172
@param savedState either a previously-saved state that was produced
@@ -191,8 +191,8 @@ class JUCE_API AudioDeviceManager : public ChangeBroadcaster
191191
192192
@returns an error message if anything went wrong, or an empty string if it worked ok.
193193
*/
194-
String initialise (int numInputChannelsNeeded,
195-
int numOutputChannelsNeeded,
194+
String initialise (int maxNumInputChannelsNeeded,
195+
int maxNumOutputChannelsNeeded,
196196
const XmlElement* savedState,
197197
bool selectDefaultDeviceOnFailure,
198198
const String& preferredDefaultDeviceName = String(),

0 commit comments

Comments
 (0)