开发者

JavaSound detecting microphone getting plugged in or removed

It seems like JavaSound doesn't detect when a USB Microphone is plugged in or removed.

If plugged in while my java application is running, its not detected. Worse, if unplugged it still thinks its a valid mixer.

I have to relaunch the VM. Is there any way around this? I'm running Java 1.6.0_24 on Windows 7.

According to this post. The same problem appears开发者_如何学Go to exist on OS X. Is this a limitation of JavaSound


I have described my solution for the pure microphone detection here: Java Sound refresh Lines list after attaching a microphone Unfortunately there is still a problem that the data lines stay in an inconsistent state.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜