开发者

JavaSound detecting microphone getting plugged in or removed

开发者 https://www.devze.com 2023-04-12 05:24 出处:网络
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

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

精彩评论

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

关注公众号