I suddenly started having this problem with audacity. It used to work perfectly until some days ago. I don't recall changing anything to make this happen...
When I try to listen to an audio file I get this message:
When I try to record, this other:Error while opening sound device. Please check the playback device settings and the project sample rate.
Project rate has always been 44100 Hz.Error while opening sound device. Please check the recording device settings and the project sample rate
Since I have that problem, I have uninstalled and installed again from "Software Manager" and then with "sudo apt install audacity" in terminal. Still not working.
Rescan audio devices makes nothing.
In edit/preferences/devices/interface I can't choose any "host" and a little under that line I can read: Using PortAudio V19.6.0-devel, revision 396fe...(quite long numbers and letters list).
In playback device and recording device there is nothing I can choose from, too.
I don't think that is the problem, because I tried it without it too, but I use an external audio interface: Steinberg UR 22 mkII. I have also tried changing between that and internal audio soundcard in sound settings. I have also tried to see if it recognizes jack, turning on jack and then opening audacity. but also not working.
Does anybody have an idea of how can this be solved? Am I missing ALSA drivers?
Everything else works perfectly, Ardour, playback and record through external soundcard; sounds from firefox, and all other audio and music programs...