I'm using PulseAudio on my system, and I followed the instructions for adding a monitor device as per the PulseAudio wiki. The monitor device itself works and registers/functions properly in apps like Audacity, but I'm not able to get the device to show itself through any of the command line tools. aplay -L returns roughly the same list as Audacity, but is conveniently missing the monitor device.
My end goal is to parse the output in a Java app and eventually pass it to FFmpeg. I'm able to tell the device exists through the Java audio APIs as 2 generic "Capture source ports" show up, but it doesn't provide a name for the device, and the goal is for it to be user-selectable in a somewhat friendly manner.
Are there any ways to get the monitor device to show up in either a command line app or through a Java API / library?
Thanks in advance!