This is a weird one: The other day, I wanted to use my Zoom H4n Pro as a recording device with Linux Mint Mate 21.2 and kernel 6.5.0-14-generic and Audacity 2.4.2. That used to work fine with Linux Mint 19.1 Tessa with Kernel 4.15.0-20-generic #21-Ubuntu. So I get to see the relevant USB device with lusb:
Bus 002 Device 009: ID 1686:0045 ZOOM Corporation Handy Recorder stereo mix
cat /proc/asound/cards shows
2 [H4]: USB-Audio - H4
ZOOM Corporation H4 at usb-0000:00:1d.0-1.4.2, full speed
and I can even record from it using the terminal with
arecord -D hw:2 -f cd foo.wav
. I can monitor the Zoom in Audacity and even record from it as often as I want. But once I click “Play” in Audacity, the Zoom is gone from the list of USB input devices in the “Sound Preferences” app. Restarting the Pulseaudio daemon with
pulseaudio -k
brings it back, I can then record again but “Play” messes things up again. The output of lusb and cat /proc/asound/cards is unchanged. Transport/Rescan Audio Devices does not bring the Zoom back.
However:
When the Zoom is connected, Linux Mint seems ŧo also change the Output device to “Handy Recorder stereo mix Analog Stereo”. I don’t know if the Zoom does even work as an output device. So when I revert this back to “Built-in Audio Analog Stereo” and only leave “Handy Recorder stereo mix Analog Stereo” for input, everything seems to work fine.
At least as long as I don’t unplug/replug the Zoom. No idea if that is something in Audacity, Linux Mint, Pulseaudio’s defaults, the way how the H4n Pro identifies itself as an USB device or even the Linux kernel.
A Jabra SPEAK 420 handsfree station (which works as a speaker and as a microphone) exposes no such issues. So even if the behaviours might not be a bug in Audacity, my advice to select a proper output device might save you some headscratching hassle.