I'm trying to script an audio/video capture application that requires me to specify both a name (eg: Built-in Microphone) and an ID (eg: AppleHDAEngineInput:1) to identify the device.
The problem I'm having is that in my existing application, I only have access to the name of the device (e.g. Built-in Microphone or USB Video Class Video). Can I use this name to get the ID of the device? It would be ideal if I could do it from Java, but any solution would be welcome. I tried using the Java Quicktime API, but I could only get the device names from there.
Thanks!