sannysanoff / SDRPlusPlusBrown

Cross-Platform SDR Software
GNU General Public License v3.0
27 stars 6 forks source link

Pulseaudio and rtaudio issues? #18

Open angrysmiley opened 7 months ago

angrysmiley commented 7 months ago

Running into two issues ( #13 and #14) on Ubuntu 22.04 which I believe may be related to Pulseaudio with the rtaudio sink. I'm aware there was an issue with rtaudio and pulse on the original SDR++ in the past, however I do believe this issue is unrelated (see below).

Both issues happen when using pulse no matter device or sample rate.

Issue in #14 is partially mitigated by lowering the sample rate, the flickering and noise/stutter then almost goes away. I don't have any issues here with the original SDR++

Both issues are completely mitigated if I either switch to the "New PortAudio Sink" (surprisingly) or disable Pulseaudio (and Pipewire) completely.

I tried to adjust pulse settings in daemon.conf et al, but with no luck thus far.

System is running an AMD Ryzen 7 2700X, I will see if I can reproduce on another system and/or arch.

sannysanoff commented 3 months ago

thank you. Probably it will go away when I (or author) moves to native audio drivers.

the cause may be also, because I am using microphone input by default as well. You can try run the application with old driver (not new portaudio), and toggle "Mic" checkbox off. Probably it will change to better.

Also, I recently optimized microphone processing pipeline, so it may also fix things for you.

Microphone is needed for TRX functionality and voice control (not yet ready).

sannysanoff commented 3 months ago

please confirm you have any issues when NR is not active.

angrysmiley commented 3 months ago

Apologies for the late reply.

I have just tested with the latest source, same thing happens.

As soon I enable NR, it crashes.