Package Details: alsa-lib-a52pcm 1.2.4-1

Git Clone URL: https://aur.archlinux.org/alsa-lib-a52pcm.git (read-only, click to copy)
Package Base: alsa-lib-a52pcm
Description: An alternative implementation of Linux sound support (with workaround for a52 digital surround PCM)
Upstream URL: https://git.harting.dev/IdleGandalf/alsa-lib/commit/646bc80a63b0220300678a38e0c26a9a13af6fc0
Licenses: LGPL2.1
Conflicts: alsa-lib=1.2.4
Provides: alsa-lib=1.2.4, libasound.so, libatopology.so
Submitter: quequotion
Maintainer: quequotion
Last Packager: quequotion
Votes: 3
Popularity: 0.176113
First Submitted: 2020-03-28 15:14
Last Updated: 2021-01-14 13:27

Required by (1000)

Sources (2)

Pinned Comments

quequotion commented on 2020-03-28 16:03

Since libavresample was deprecated from ffmpeg, and something went wrong with the rate plugin's config parser, digital surround sound output has been broken.

There is a workaround, packaged herein.

You'll need to install libavresample and alsa-plugins built against it for the lavrate plugin, then alsa-lib-a52pcm to work with the well known configuration.

$ git clone https://aur.archlinux.org/libavresample
$ cd libavresample/
$ makechrootpkg -c -r $CHROOT
# pacman -U --asdeps libavresample-4.3.1-1-x86_64.pkg.tar.zst
$ cd ../
$ git clone git://git.archlinux.org/svntogit/packages.git --{single-,}branch {packages/,}alsa-plugins
$ cd alsa-plugins/trunk/
$ makechrootpkg -c -r $CHROOT -I ../../libavresample/libavresample-4.3.1-1-x86_64.pkg.tar.zst
# pacman -U alsa-plugins-1\:1.2.2-2-x86_64.pkg.tar.zst
$ cd ../../
$ git clone https://aur.archlinux.org/alsa-lib-a52pcm
$ cd alsa-lib-a52pcm/
$ makechrootpkg -c -r $CHROOT
# pacman -U --asdeps alsa-lib-a52pcm-1.2.4-1-x86_64.pkg.tar.zst

Note: If audio is again lost after an upgrade, repeat.

One more thing, to save your sanity, you may want to prevent pacman from automatically upgrading alsa-plugins and alsa-lib:

in /etc/pacman.conf

IgnorePkg = alsa-plugins alsa-lib

Latest Comments

quequotion commented on 2021-01-18 03:47

@xtc0r

Looks like you found out about devtools.

You can delete the chroot, or leave it there and maintain it for future package builds.

xtc0r commented on 2021-01-17 11:33

[EDIT2] 5.1 is working again! Thank you! Can I delete the CHROOT folder or is this still needed after installation?

[EDIT] Seems for manjaro some things are diffrent. I followed this thread and could install it: https://forum.manjaro.org/t/solved-please-help-installing-alsa-lib-a52pcm/35832/5

Hi, I'm just a linux noob trying to get 5.1 sound via SPDIF back.

I'm on manjaro linux.

I could execute

$ git clone https://aur.archlinux.org/libavresample
$ cd libavresample/

But

makechrootpkg -c -r $CHROOT

gives: Command not found. Or is the complete command

makechrootpkg -c -r $CHROOT pacman -U --asdeps libavresample-4.3.1-1-x86_64.pkg.tar.zst

This gives me: Package couldn't be found or read.

Why is 5.1 Sound so damn difficult on linux?

quequotion commented on 2020-03-28 16:03

Since libavresample was deprecated from ffmpeg, and something went wrong with the rate plugin's config parser, digital surround sound output has been broken.

There is a workaround, packaged herein.

You'll need to install libavresample and alsa-plugins built against it for the lavrate plugin, then alsa-lib-a52pcm to work with the well known configuration.

$ git clone https://aur.archlinux.org/libavresample
$ cd libavresample/
$ makechrootpkg -c -r $CHROOT
# pacman -U --asdeps libavresample-4.3.1-1-x86_64.pkg.tar.zst
$ cd ../
$ git clone git://git.archlinux.org/svntogit/packages.git --{single-,}branch {packages/,}alsa-plugins
$ cd alsa-plugins/trunk/
$ makechrootpkg -c -r $CHROOT -I ../../libavresample/libavresample-4.3.1-1-x86_64.pkg.tar.zst
# pacman -U alsa-plugins-1\:1.2.2-2-x86_64.pkg.tar.zst
$ cd ../../
$ git clone https://aur.archlinux.org/alsa-lib-a52pcm
$ cd alsa-lib-a52pcm/
$ makechrootpkg -c -r $CHROOT
# pacman -U --asdeps alsa-lib-a52pcm-1.2.4-1-x86_64.pkg.tar.zst

Note: If audio is again lost after an upgrade, repeat.

One more thing, to save your sanity, you may want to prevent pacman from automatically upgrading alsa-plugins and alsa-lib:

in /etc/pacman.conf

IgnorePkg = alsa-plugins alsa-lib