hi!
Thanks for the very quick response. I've copied the Convertor and changed what you have suggested. Now that the "Int32LSB24 is not yet supported" Exception isn't thrown anymore I have a new problem. I get an exception during the AsioOut.Init-method. More specificly: The function CreateBuffers(int, int, bool) from ASIODriverExt.cs throws the Exception Error code [ASE_InvalidMode] while calling ASIO method <createBuffers>,
bufferInfos.length == 64
nbTotalChannels == 64 (32 input, 32 output)
bufferSize == 256 (at first it was 800, but then I looked at the bufferSize when using the other soundcard. there the bufferSize was 256, so I changed it to 256 using the AsioSettingsDialog)
In an ASIO SDK documention I found
The other thing with the ChannelOffset seems to work. :)
Stefan
Thanks for the very quick response. I've copied the Convertor and changed what you have suggested. Now that the "Int32LSB24 is not yet supported" Exception isn't thrown anymore I have a new problem. I get an exception during the AsioOut.Init-method. More specificly: The function CreateBuffers(int, int, bool) from ASIODriverExt.cs throws the Exception Error code [ASE_InvalidMode] while calling ASIO method <createBuffers>,
unsafe { fixed (ASIOBufferInfo* infos = &bufferInfos[0]) { IntPtr pOutputBufferInfos = new IntPtr(infos); // Create the ASIO Buffers with the callbacks driver.createBuffers(pOutputBufferInfos, nbTotalChannels, bufferSize, ref callbacks); } }
nbTotalChannels == 64 (32 input, 32 output)
bufferSize == 256 (at first it was 800, but then I looked at the bufferSize when using the other soundcard. there the bufferSize was 256, so I changed it to 256 using the AsioSettingsDialog)
In an ASIO SDK documention I found
ASIOError ASIOCreateBuffers(ASIOBufferInfo *bufferInfos, long numChannels, long bufferSize, ASIOCallbacks *callbacks);
If not enough memory is available ASE_NoMemory will be returned. If no input/output is presentMaybe the 256 are wrong, but I've chosen this value from a DropDownList from the AsioSettingsDialog.
ASE_NotPresent will be returned. If bufferSize is not supported, or one or more of the bufferInfos
elements contain invalid settings, ASE_InvalidMode will be returned.
The other thing with the ChannelOffset seems to work. :)
Stefan