awinbra
awinbra

Reputation: 704

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 to exist on OS X. Is this a limitation of JavaSound

Upvotes: 0

Views: 1106

Answers (1)

Alex Fedulov
Alex Fedulov

Reputation: 1502

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.

Upvotes: 1

Related Questions