Debian-based Distro Audio Fix when self building #112
Replies: 11 comments 21 replies
-
That fixed my fluttery audio in Debian Buster too. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I am running Linux Mint with Focal ubuntu, runs fine except no audio. Doesn't appear in the pulse vol ctrl system. I installed from a .deb, do I need to build from src? |
Beta Was this translation helpful? Give feedback.
-
On Linux Mint 20 also |
Beta Was this translation helpful? Give feedback.
-
Thanks for the help. This fixed my problem. I would also like to point out that there is now a |
Beta Was this translation helpful? Give feedback.
-
Thanks for the instructions on building a new librtaudio-dev. Everything worked as advertised in steps 1-6, (I changed step 3 to 5.2.0) but at step 6 I got an errors, don't know how to resolve. I searched the code repo for error.h, not found. sudo make install |
Beta Was this translation helpful? Give feedback.
-
@Konradrundfunk Yes, I do: pulseaudio (1:13.99.1-1ubuntu3.13) |
Beta Was this translation helpful? Give feedback.
-
I found the post: "With the latest 5.2 version there seams to be an error so i added the checkout to the earlier version but glad that that helped." So, I started over again - deleted contents of /build, then followed all steps again, but checked out 5.1.0. This time, no error! But SDR++ is not starting. I'm going to try re-installing it. I may have accidentally borked it with a sudo apt autoremove that was suggested when I was doing the steps. Lesson -- stick to the plan, LOL. |
Beta Was this translation helpful? Give feedback.
-
Hmm, it wants to install librtaudio-dev . . . hope it does not overwrite the new version I have . . . |
Beta Was this translation helpful? Give feedback.
-
@Konradrundfunk rebuilding from the top seems to have resolved the problem. IMO your audio fix needs to be added to the README, but it's not my project, so I hesitate to horn in. One thing I noticed reinstalling SDR++ from the .deb file, one of the files that it installs (downloads) is librtaudio-dev. So the new librtaudio-dev I just built is overwritten by the old, defective one. Meaning I had to run step 5 & 6 one more time. I think this will happen every time a new SDR++ is released. So it seems this issue needs to be fixed. Again, thanks very much for documenting this fix. |
Beta Was this translation helpful? Give feedback.
-
This issue also exists on Arch Linux and I have reported it there https://gitlab.archlinux.org/archlinux/packaging/packages/rtaudio/-/issues/1 |
Beta Was this translation helpful? Give feedback.
-
Here is a custom PKGBUILD (to build rtaudio) for Arch and derivatives. |
Beta Was this translation helpful? Give feedback.
-
Unfortunatly the default librtaudio-dev library on the apt is outdated and falsely configured. Therefore you most probably will experience audio problems on linux mint. There is a fix but it requires a bit of manual work for you to do.
git clone https://github.com/thestk/rtaudio && cd rtaudio
mkdir build && cd build
git checkout 5.1.0
cmake -DCMAKE_INSTALL_PREFIX:PATH="/usr" -DRTAUDIO_API_JACK=OFF -DRTAUDIO_API_ALSA=OFF ..
apt remove librtaudio-dev
or your rtaudio versionsudo make install
Thanks to cropinghigh for the cmakeflag.
Beta Was this translation helpful? Give feedback.
All reactions