summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-22 00:34:20 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-22 00:34:20 +0000
commit4835de62ddcc349abf3d969c5c1556e3ad464f1a (patch)
tree6ac9f890b9d25637355ef6720d66b34e9054e410 /user
parent4a0ed1c9f54b9195d422094a048328c6daaca740 (diff)
downloadpackages-4835de62ddcc349abf3d969c5c1556e3ad464f1a.tar.gz
packages-4835de62ddcc349abf3d969c5c1556e3ad464f1a.tar.bz2
packages-4835de62ddcc349abf3d969c5c1556e3ad464f1a.tar.xz
packages-4835de62ddcc349abf3d969c5c1556e3ad464f1a.zip
user/pulseaudio: disable ear-piercing flat volumes by default
https://www.reddit.com/r/linux/comments/2rjiaa/
Diffstat (limited to 'user')
-rw-r--r--user/pulseaudio/APKBUILD9
-rw-r--r--user/pulseaudio/disable-flat-volume.patch11
2 files changed, 17 insertions, 3 deletions
diff --git a/user/pulseaudio/APKBUILD b/user/pulseaudio/APKBUILD
index 1a5bf62d3..15d8dcca3 100644
--- a/user/pulseaudio/APKBUILD
+++ b/user/pulseaudio/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=pulseaudio
pkgver=12.2
-pkgrel=1
+pkgrel=2
pkgdesc="A featureful, general-purpose sound server"
url="https://www.freedesktop.org/wiki/Software/PulseAudio"
pkgusers="pulse"
@@ -22,7 +22,9 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-bluez
$pkgname-zsh-completion:zshcomp:noarch"
source="https://freedesktop.org/software/pulseaudio/releases/pulseaudio-$pkgver.tar.xz
$pkgname.initd
- $pkgname.confd"
+ $pkgname.confd
+ disable-flat-volume.patch
+ "
build() {
cd "$builddir"
@@ -130,4 +132,5 @@ zshcomp() {
sha512sums="877754c1838b3cb042dbc18a5f1cc3cf313ffcaee7a64703330406d1f86279c34f1107634ac3083b158365e6757fbacf5ec406bc3c5788d291de67b77a561a4e pulseaudio-12.2.tar.xz
34fe54ece5df60ce63a7955cd828a2716670fef71f40960698ae5518fdaf9cd599f4d8f8852e2c88d715600a9ad06a38984415e5eb320071012e5eb6e5c1b8b1 pulseaudio.initd
-75b54581591519d63a3362b155c0f9b0501a60763ab394693a456c44d0216138cf3a40bdd0f7442028663bc045e9ffee286f8f8eaf2ee3bb17379b43615fee0e pulseaudio.confd"
+75b54581591519d63a3362b155c0f9b0501a60763ab394693a456c44d0216138cf3a40bdd0f7442028663bc045e9ffee286f8f8eaf2ee3bb17379b43615fee0e pulseaudio.confd
+dcb50f7c4fd86b0311ab050f7f0340dcf54379a685903951f22e24df6aee5486ee5e02f866c9e53dd55a54ba302658ad282114ce37f169d185855dc37dae0349 disable-flat-volume.patch"
diff --git a/user/pulseaudio/disable-flat-volume.patch b/user/pulseaudio/disable-flat-volume.patch
new file mode 100644
index 000000000..8325c8d1f
--- /dev/null
+++ b/user/pulseaudio/disable-flat-volume.patch
@@ -0,0 +1,11 @@
+--- pulseaudio-12.2/src/daemon/daemon.conf.in.old 2018-07-13 19:06:14.000000000 +0000
++++ pulseaudio-12.2/src/daemon/daemon.conf.in 2019-01-22 00:30:56.700000000 +0000
+@@ -60,7 +60,7 @@
+ ; enable-lfe-remixing = no
+ ; lfe-crossover-freq = 0
+
+-; flat-volumes = yes
++flat-volumes = no
+
+ ifelse(@HAVE_SYS_RESOURCE_H@, 1, [dnl
+ ; rlimit-fsize = -1