Hello,
I do not understand why the properties NumberOfInputChannel NumberofOutputChannel ASIO drivers and was always zero while the function getChannels is correct.
So I added a few lines in the class ASIOOut, function InifromName, properties that are functional.
private void initFromName(String driverName)
{
// Get the basic driver
ASIODriver basicDriver = ASIODriver.GetASIODriverByName(driverName);
// Add Channels Number
int nbchannelin;
int nbchannelout;
basicDriver.getChannels(out nbchannelin, out nbchannelout);
NumberOfInputChannels = nbchannelin;
NumberOfOutputChannels = nbchannelout;
// Instantiate the extended driver
driver = new ASIODriverExt(basicDriver);
this.ChannelOffset = 0;
}
there is little to be another way for these parameters!
I do not understand why the properties NumberOfInputChannel NumberofOutputChannel ASIO drivers and was always zero while the function getChannels is correct.
So I added a few lines in the class ASIOOut, function InifromName, properties that are functional.
private void initFromName(String driverName)
{
// Get the basic driver
ASIODriver basicDriver = ASIODriver.GetASIODriverByName(driverName);
// Add Channels Number
int nbchannelin;
int nbchannelout;
basicDriver.getChannels(out nbchannelin, out nbchannelout);
NumberOfInputChannels = nbchannelin;
NumberOfOutputChannels = nbchannelout;
// Instantiate the extended driver
driver = new ASIODriverExt(basicDriver);
this.ChannelOffset = 0;
}
there is little to be another way for these parameters!