JucePlugin_MaxNumInputChannels always 0

I’m using Introjucer and i can’t set theese constants to anything but 0, i can do that manually but each time i re-save the project they get zeroed, where can i find a setting to change that (with those channels set to 0 a assertion is hit and in Release builds the plugin crashes the host).

The number gets generated from the input channel configuration list that you set in the introjucer, so if you set that correctly, it should be fine.

well it should be at least 1 with the default configuration shouldn’t it ?

#define JucePlugin_Name                 "Ctrlr - Plugin"
#define JucePlugin_Desc                 "Ctrlr MIDI Editor"
#define JucePlugin_Manufacturer         "Instigator"
#define JucePlugin_ManufacturerCode     'INST'
#define JucePlugin_PluginCode           'CTRL'
#define JucePlugin_MaxNumInputChannels  0
#define JucePlugin_MaxNumOutputChannels 0
#define JucePlugin_PreferredChannelConfigurations   {1, 1}, {2, 2}

Ah… yes… I guess I’d better take a look at that! Will check something in very shortly!