This project has moved and is read-only. For the latest updates, please go here.

ASIO questions

Jan 15, 2013 at 9: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.

Jan 15, 2013 at 3: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?


Jan 15, 2013 at 4:39 PM

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

Jan 15, 2013 at 4:48 PM
Edited Jan 15, 2013 at 4: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; }

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