I am using a 10 Channel I/O Edirol UA 101 Audio Interface with ASIO drivers.I can get the Interface and set the Driver with setDriver and setOutput.
1.) But how would I enumerate the number of available output channels ? I assumes getHardwareChannels would do the trick but I get 0 channels returned.
2.) Any short code sample how to play a sound in a selected channel of these 10. Is it possible with FMOD ex ?
Thanks in advance. Jakob
- _yak asked 10 years ago
Unfortunately I haven’t found a solution to enumerate all available Asio devices since imho FMOD Ex just takes the first available device it finds. I dont know if there is a way to select another one.If the first device is the one you want you can get number of I/O ports with System::getSoftwareFormat(). I found some related info in [url=http://www.fmod.org/forum/viewtopic.php?p=19042&sid=1272b1c78b121c28cde82f6a70022dbe:1pc9ss8m]this post[/url:1pc9ss8m]
However there is another solution. For enumeration you could use [url=http://www.music.mcgill.ca/~gary/rtaudio/:1pc9ss8m]rtAudio[/url:1pc9ss8m]to just enumerate ASIO devices and ports.
Nevermind. I found the correct way to work with multichannel ASIO devices like my EDIROL UA 101 in [url=http://www.fmod.org/forum/viewtopic.php?t=8015&highlight=asio:3fjcav4i]this post[/url:3fjcav4i].
Additionally I had the problem that an old ASIO driver blocked the newer one and only allowed 2 instead of the 10 output channels. After deleting the old driver from registry HKEY_LOCAL_MACHINE\SOFTWARE\ASIO everything works fine now.
I am quite surprised to see you’ve found a solution to enumerate the numbers of channels of ASIO sound cards. I wasn’t able to do this correctly. Therefore I ended up to implement the ASIO stuff by my own If you have a good solution could you please post it here?
Please login first to submit.