After poking around awhile, it appears the solution is to enumerate all the mixers in the system. On the Mac, possibly other systems as well, input devices can show up under a mixer that has no name. This happens when I plug in a USB headset and a webcam.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org