1 (edited by 901 2010-06-29 09:54:14)

Topic: Fireface and Java Sound API

Maybe not the right forum, but couldn?t find any better:

I want to write a program that does several things with audio. I use Java 1.6 and the Java Sound API. When I call AudioSystem.getLine(dataLineInfo), the API is stuck for about 38 sec (!) in that call.

This is not acceptable for my application. If I switch off the Fireface, the call returns immediately.

I suspect that AudioSystem tries every possible combination of ports and audioformats, which could be a lot in case of the Fireface.

Any ideas to get around this?

Strange enough JMF doesn?t show this behaviour, but I can?t use JMF for my app for other reasons.