Hey Paul!
This is the output I got from running that snippet you posted on Java 10. Thanks for the help!
info: Port Unknown Name, version Unknown Version
mixer com.sun.media.sound.PortMixer@77ec78b9
info: Port Unknown Name, version Unknown Version
mixer com.sun.media.sound.PortMixer@1a3869f4
info: MICROPHONE source port
info: Primary Sound Driver, version Unknown Version
mixer com.sun.media.sound.DirectAudioDevice@3aeaafa6
info: interface SourceDataLine supporting 8 audio formats, and buffers of at least 32 bytes
format: PCM_UNSIGNED unknown sample rate, 8 bit, mono, 1 bytes/frame,
format: PCM_SIGNED unknown sample rate, 8 bit, mono, 1 bytes/frame,
format: PCM_SIGNED unknown sample rate, 16 bit, mono, 2 bytes/frame, little-endian
format: PCM_SIGNED unknown sample rate, 16 bit, mono, 2 bytes/frame, big-endian
format: PCM_UNSIGNED unknown sample rate, 8 bit, stereo, 2 bytes/frame,
format: PCM_SIGNED unknown sample rate, 8 bit, stereo, 2 bytes/frame,
format: PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, little-endian
format: PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, big-endian
info: interface Clip supporting 8 audio formats, and buffers of at least 32 bytes
info: Speakers (Realtek High Definition Audio), version Unknown Version
mixer com.sun.media.sound.DirectAudioDevice@1b26f7b2
info: interface SourceDataLine supporting 8 audio formats, and buffers of at least 32 bytes
format: PCM_UNSIGNED unknown sample rate, 8 bit, mono, 1 bytes/frame,
format: PCM_SIGNED unknown sample rate, 8 bit, mono, 1 bytes/frame,
format: PCM_SIGNED unknown sample rate, 16 bit, mono, 2 bytes/frame, little-endian
format: PCM_SIGNED unknown sample rate, 16 bit, mono, 2 bytes/frame, big-endian
format: PCM_UNSIGNED unknown sample rate, 8 bit, stereo, 2 bytes/frame,
format: PCM_SIGNED unknown sample rate, 8 bit, stereo, 2 bytes/frame,
format: PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, little-endian
format: PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, big-endian
info: interface Clip supporting 8 audio formats, and buffers of at least 32 bytes
info: Primary Sound Capture Driver, version Unknown Version
mixer com.sun.media.sound.DirectAudioDevice@491cc5c9
info: Microphone (Realtek High Defini, version Unknown Version
mixer com.sun.media.sound.DirectAudioDevice@74ad1f1f
- regice202