Package Details: pulseaudio-module-xrdp 0.7-1

Git Clone URL: https://aur.archlinux.org/pulseaudio-module-xrdp.git (read-only, click to copy)
Package Base: pulseaudio-module-xrdp
Description: PulseAudio modules for xrdp
Upstream URL: https://github.com/neutrinolabs/pulseaudio-module-xrdp
Licenses: LGPL
Submitter: kballen
Maintainer: Jat
Last Packager: Jat
Votes: 4
Popularity: 0.98
First Submitted: 2019-10-16 19:53 (UTC)
Last Updated: 2024-04-23 08:40 (UTC)

Latest Comments

1 2 3 4 Next › Last »

MasWag commented on 2025-01-17 11:47 (UTC)

Umm. It seems I still have the same issue as before

$ PULSE_SCRIPT=/etc/xrdp/pulse/default.pa  pulseaudio 
E: [pulseaudio] module.c: Module "module-xrdp-sink" version (17.0) doesn't match the expected version (17.0-43-g3e2bb).
E: [pulseaudio] main.c: Module load failed.
E: [pulseaudio] main.c: Failed to initialize daemon due to errors while executing startup commands. Source of commands: /etc/xrdp/pulse/default.pa

StarAssassin64 commented on 2025-01-16 04:00 (UTC)

fixed the issue, posted the fixed PKGBUILD on pastebin: https://pastebin.com/pjA3AixR

comment copy if you want to stay here:

# Maintainer: Jat <chat@jat.email>

pkgname='pulseaudio-module-xrdp'
pkgver='0.7'
pkgrel='1'
pkgdesc='PulseAudio modules for xrdp.'
arch=('i686' 'x86_64' 'armv6h' 'armv7l' 'aarch64')
url="https://github.com/neutrinolabs/pulseaudio-module-xrdp"
license=('LGPL-2.1')
depends=('pulseaudio' 'xrdp')
makedepends=('meson' 'check' 'doxygen' 'perl-xml-parser')
install="${pkgname}.install"

_pulseaudio_ver="17.0"

source=(
    "${url}/archive/refs/tags/v${pkgver}.tar.gz"
    "https://freedesktop.org/software/pulseaudio/releases/pulseaudio-${_pulseaudio_ver}.tar.xz"
)
sha256sums=(
    "be101538ebe891bd4ae9d533559b99cf07abf0bbce399f50f2d248f35c160a9d"
    "$(curl -fs "${source[1]}.sha256sum" | awk '{print $1}')"
)

prepare() {
    cd "${srcdir}/pulseaudio-${_pulseaudio_ver}"

    meson build
}

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"

    sed -i '\#-I $(PULSE_DIR)/src#a -I $(PULSE_DIR)/build \\' src/Makefile.am

    ./bootstrap
    ./configure "PULSE_DIR=${srcdir}/pulseaudio-${_pulseaudio_ver}"
    make
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}"

    make DESTDIR="$pkgdir" install
}

StarAssassin64 commented on 2025-01-16 03:01 (UTC) (edited on 2025-01-16 03:01 (UTC) by StarAssassin64)

Kept getting the error saying the sha256sum couldn't be blank. I constructed the link in the PKGBUILD and I couldn't get it. I'm going to figure out how to fix this so I can install.

MasWag commented on 2025-01-04 01:19 (UTC)

It seems this PKGBUILD/package assumes that the version of pulseaudio is something like 17.0, whereas pulseaudio --version returns a bit longer (like 17.0-43-g3e2bb). The current PKGBUILD has a download issue related to this, which is easily fixable.

However, I have the following "real" issue on version mismatch. Is this reproducible and/or does anyone know how to fix this?

E: [pulseaudio] module.c: Module "module-xrdp-sink" version (17.0) doesn't match the expected version (17.0-43-g3e2bb).

h4xx commented on 2024-08-21 06:27 (UTC)

Looks like there is an issue with the SSL certificate from freedesktop.org.

To complete the build i had to replace the source from https://freedesktop.org to https://www.freedesktop.org in PKGBUILD.

varungarg commented on 2024-08-17 09:57 (UTC) (edited on 2024-08-17 09:57 (UTC) by varungarg)

I am getting weird/distorted sounds. I killed existing pulse and started pulseaudio -vvvv inside terminal started in xrdp session.

D: [pulseaudio] memblock.c: Using shared memfd memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472
D: [pulseaudio] srbchannel.c: SHM block is 65472 bytes, ringbuffer capacity is 2 * 32712 bytes
D: [pulseaudio] protocol-native.c: Enabling srbchannel...
D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for gsd-media-keys
D: [pulseaudio] protocol-native.c: Client enabled srbchannel.
D: [xrdp-sink] module-xrdp-sink.c: sink_process_msg: PA_SINK_MESSAGE_GET_LATENCY
D: [xrdp-sink] module-xrdp-sink.c: sink_process_msg: lat 39887
D:
...
E: [xrdp-sink] module-xrdp-sink.c: sink_process_msg: not running
E: [xrdp-sink] module-xrdp-sink.c: close_send:
E: [xrdp-sink] module-xrdp-sink.c: Connected ok fd 25
E: [xrdp-sink] module-xrdp-sink.c: sink_process_msg: not running
E: [xrdp-sink] module-xrdp-sink.c: close_send:
..
D: [xrdp-sink] module-xrdp-sink.c: process_render: u->block_usec 30000
D: [xrdp-sink] module-xrdp-sink.c: process_render: u->block_usec 30000
D: [xrdp-sink] module-xrdp-sink.c: process_render: u->block_usec 30000

I don't know what is going wrong

cinereus commented on 2024-08-13 16:09 (UTC)

The SSL certificate for https://freedesktop.org/software/pulseaudio/releases/pulseaudio-x.x.tar.xz is currently invalid so this doesn't build.

The cert for https://www.freedesktop.org/software/pulseaudio/releases/pulseaudio-x.x.tar.xz is fine so can build using that.

benjarobin commented on 2024-08-06 18:35 (UTC)

Please depend on pulse-native-provider instead of pulseaudio. See https://gitlab.archlinux.org/archlinux/packaging/packages/pipewire/-/issues/10

peiyangxie commented on 2024-04-05 14:49 (UTC) (edited on 2024-04-05 14:49 (UTC) by peiyangxie)

finally i make it work...but ugly, add this to i3 config

exec --no-startup-id run_forever.sh

run_forever.sh:

#!/bin/bash
while true
do
/usr/bin/pulseaudio
done

Jat commented on 2023-08-09 09:23 (UTC)

@D3vil0p3r install meta package base-devel