0
0

Hi

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

  • You must to post comments
0
0

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.

  • You must to post comments
0
0

Hi _yak,

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?

thanks
slajar

  • You must to post comments
0
0

Hi slajar

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.

hth. Jakob

  • You must to post comments
0
0

Hi jakob,

well since I do direct ASIO access it works for me right now. Actually, it’s not really satisfying for me since IMHO an audio abstraction API should provide all kinds of access without doing some deeper accesses.

thanks
slajar

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.