3

please tell me is there any way to get the list of all processes that are currently using the mic to record audio ?

like Skype, sound recorder both are running. want to get them in java

Ashot Karakhanyan
  • 2,804
  • 3
  • 23
  • 28

1 Answers1

1

You can query all the input lines and ports via the class AudioSystem. http://docs.oracle.com/javase/tutorial/sound/accessing.html

I'm guessing you'll have to inspect the output of the various lines/ports in order to determine if they are active at a given moment.

Phil Freihofner
  • 7,645
  • 1
  • 20
  • 41