JMF + Windows Vista

I tried my JMF software under Windows Vista and it didn't work as it worked in XP. So the first problem is that CaptureDeviceManager.getDeviceList

does not work with any format (including null). Alsonew MediaLocator("dsound://8000")

does not work(direct sound is not supported under Windows Vista). The only way to get MediaLocator for the microphone, is by usingnew MediaLocator("javasound://8000,8,1")

But the problem is that the recorded sound is corrupted. Have anyone tried to retrieve MediaLocator object for the mictophone on Vista? Any news about JMF compatibility issues under Windows Vista?

Message was edited by:

the_lucius

[794 byte] By [the_luciusa] at [2007-11-27 5:47:56]
# 1

OK, it's obvious that DirectSound is not supported under Vista, that's why it isn't working. But the problem is that if I use javasound like:return new MediaLocator("javasound://8000,16,1");

which is one of the supported formats, the sound I here from the microphone is corrupted(the same application, but with directsound is working perfect). This is valid for both Vista and XP.

So my question is: Is javasound working properly with JMF (I mean the microphone's medialocator taken using javasound).

Question 2: what is the best way to retrieve the MedaiLocator object for the microphone?

the_luciusa at 2007-7-12 15:32:53 > top of Java-index,Security,Cryptography...