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

Why does this need to be compiled?.. #112

Open
tbone2k-git opened this issue Apr 5, 2024 · 2 comments
Open

Why does this need to be compiled?.. #112

tbone2k-git opened this issue Apr 5, 2024 · 2 comments

Comments

@tbone2k-git
Copy link

Hello there! o)

Just a question, why is there a need to compile the xrdp sinks? I read it's needs to be compiled against the pulse version installed, but what exactly has to match? Why is it not possible to simply install a package (if there was one) which is working hand in hand with an already installed pulseaudio subsystem?

I tried to get xrdp sound working for the x-th time now, it just does not seem to be possible for me. I get moving audio meters, but no sound. I successfully used your script(s) and all went fine it seems from the log output. I don't have a xrdp-sink in the pulseaudio mixer, I had it on a another attempt though, now I only have "dummy-output". I'm on Debian 12 stable.

I also wonder whether I need to configure anything after doing the compile job? Do I need specific things installed regarding xorg, xrdp or pulse? I was able to get sound from the remote machine by simply setting the $PULSE_SERVER env variable to the IP of another machine, which played the audio quite ok, but that is a workaround of course.

Is there anything I need to configure with DBUS or the xrdp launcher script or XFCE?
It's all just a lot of lose pieces and only a very selected group of people seem to be able to solve this puzzle, which leaves me puzzled! o))

Thank you for your efforts and time! o)
tbone2k

@tbone2k-git
Copy link
Author

With "just install a package" I don't necessarily mean a distro package, some bundled binaries and config files would be fine as well. I would probably succeed putting them somewhere into the system and "boom!", have it working? I don't know.. o) Why is everyone required to compile this, do the resulting binaries on each distro actually differ? Do they differ for various pulseaudio version? I would assume pulseaudio has an API which could work for a broad spectrum of clients, just like any music player also does not need to be compiled for a specific pulseaudio version.

I am a linux noob, please forgive me for my naive questions, I just try to learn! o)
Thank you in advance! o)

@matt335672
Copy link
Member

@tbone2k-git - you need to compile this as pulseaudio doesn't support out-of-tree builds. You need not only a complete pulse audio source tree, but a working configuration too.

This isn't the the case for the pipewire module, which is currently being submitted as a Debian package, although it isn't available yet.

Check your Debian 12 installation isn't using pipewire with the pactl info command. I believe the default for Debian 12 is pipewire.

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

No branches or pull requests

2 participants