diff options
-rw-r--r-- | main/alsa-utils/APKBUILD | 6 | ||||
-rw-r--r-- | main/alsa-utils/uclibc-exp10.patch | 25 |
2 files changed, 3 insertions, 28 deletions
diff --git a/main/alsa-utils/APKBUILD b/main/alsa-utils/APKBUILD index 0869137a47..8ef27f2a3c 100644 --- a/main/alsa-utils/APKBUILD +++ b/main/alsa-utils/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Leonardo Arena <rnalrd@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=alsa-utils -pkgver=1.0.24.2 -pkgrel=1 +pkgver=1.0.25 +pkgrel=0 pkgdesc="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" url="http://www.alsa-project.org" arch="all" @@ -52,7 +52,7 @@ alsaconf() { install -D -m755 alsaconf/alsaconf "$subpkgdir"/usr/bin/alsaconf } -md5sums="8238cd57cb301d1c36bcf0ecb59ce6b2 alsa-utils-1.0.24.2.tar.bz2 +md5sums="f81f9dcb9a014fd32cb3a70066a5b9a9 alsa-utils-1.0.25.tar.bz2 5e65f278b5a77e3ee2821ad955c4cd91 alsaconf.patch 58c30caa1c47de084e70ca353698e976 uclibc-exp10.patch b1b7eca57f5ddf64db5527193d62f268 alsa.initd diff --git a/main/alsa-utils/uclibc-exp10.patch b/main/alsa-utils/uclibc-exp10.patch deleted file mode 100644 index e021374a25..0000000000 --- a/main/alsa-utils/uclibc-exp10.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/alsamixer/volume_mapping.c b/alsamixer/volume_mapping.c -index 9cacad8..f08f003 100644 ---- a/alsamixer/volume_mapping.c -+++ b/alsamixer/volume_mapping.c -@@ -109,9 +109,9 @@ static double get_normalized_volume(snd_mixer_elem_t *elem, - if (use_linear_dB_scale(min, max)) - return (value - min) / (double)(max - min); - -- normalized = exp10((value - max) / 6000.0); -+ normalized = exp(M_LN10 * (value - max) / 6000.0); - if (min != SND_CTL_TLV_DB_GAIN_MUTE) { -- min_norm = exp10((min - max) / 6000.0); -+ min_norm = exp(M_LN10 * (min - max) / 6000.0); - normalized = (normalized - min_norm) / (1 - min_norm); - } - -@@ -144,7 +144,7 @@ static int set_normalized_volume(snd_mixer_elem_t *elem, - } - - if (min != SND_CTL_TLV_DB_GAIN_MUTE) { -- min_norm = exp10((min - max) / 6000.0); -+ min_norm = exp(M_LN10 * (min - max) / 6000.0); - volume = volume * (1 - min_norm) + min_norm; - } - value = lrint_dir(6000.0 * log10(volume), dir) + max; |