ASIO questions

Jan 15, 2013 at 8:20 AM

Hi Mark. I had used naudio in my project. Its a great thing. Thank you for work.

I have some problems with ASIO. Its work fine. But in my E-mu 0404 USB i can use only 2  channels of 4. Naudio dont see spdif in/out. And by default using only analog in/out.

Coordinator
Jan 15, 2013 at 2:41 PM

what does NAudio report as the number of available channels? Did you know there is an output channel offset property that you can use to select the next two inputs/outputs?

Mark

Jan 15, 2013 at 3:39 PM

ОК. I found names of channels in AsioOut.driver.Capabilities.InputChannelInfos  and make methods to get it.

Jan 15, 2013 at 3:48 PM
Edited Jan 15, 2013 at 3:48 PM

 
I added this to AsioOut:
public string AsioInputChannelName(int channel) { if (channel > DriverInputChannelCount) return ""; else return driver.Capabilities.InputChannelInfos[channel].name; } public string AsioOutputChannelName(int channel) { if (channel > DriverOutputChannelCount) return ""; else return driver.Capabilities.OutputChannelInfos[channel].name; }

Coordinator
Jul 16, 2013 at 8:53 PM
it's taken ages I know, but this is in NAudio now
thanks