Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulseaudio and rtaudio issues? #18

Open
angrysmiley opened this issue Dec 2, 2023 · 4 comments
Open

Pulseaudio and rtaudio issues? #18

angrysmiley opened this issue Dec 2, 2023 · 4 comments
Assignees

Comments

@angrysmiley
Copy link

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.

@angrysmiley angrysmiley added the bug Something isn't working label Dec 2, 2023
@sannysanoff
Copy link
Owner

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
Copy link
Owner

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

@angrysmiley
Copy link
Author

Apologies for the late reply.

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

As soon I enable NR, it crashes.

@n7ihq
Copy link

n7ihq commented Nov 19, 2024

I built SDR++ Brown on a laptop with Intel N6000 CPU running Ubuntu 24.04 OS with PulseAudio. I experience stuttering audio with the flashing "Underflow 1" message. After rebuilding with the New Portaudio Sink, the same problem occurs. I have no audio underflows with SDR++ Brown on a Raspberry Pi 4 running Bookworm OS with Pipewire audio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants