1
0
forked from ports/contrib

alsaequal: initial commit, v0.7.1

This commit is contained in:
Alexandr Savca 2020-11-19 17:46:55 +02:00
parent 6ee809132e
commit d4eacc3c77
4 changed files with 71 additions and 0 deletions

5
alsaequal/.footprint Normal file
View File

@ -0,0 +1,5 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/alsa-lib/
-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_ctl_equal.so
-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_pcm_equal.so

5
alsaequal/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38eRnrq20/aF0TbUztpliFpnMVLYjUnfS789FnD3nV1geFMBRf4lXa3ukF6cF1/+ZVgquapry5AgFForC8O/2AQ=
SHA256 (Pkgfile) = 6621c96a17a87f143e612a19452cce9f013e2245ef6e769a6cece5127fb020d1
SHA256 (.footprint) = 758d884e5fa1faaa86557799bfce261885fe1c0f6d98f3793f695bc8009b3fb8
SHA256 (alsaequal-0.7.1.tar.gz) = 25a3da01fd471015ecefe679bcf157be47af307cc11ac5e5888157291eb8ce54

15
alsaequal/Pkgfile Normal file
View File

@ -0,0 +1,15 @@
# Description: Real-time adjustable equalizer plugin for ALSA
# URL: https://github.com/bassdr/alsaequal
# Maintainer: Alexandr Savca, alexandrsavca89 at gmail dot com
# Depends on: alsa-lib caps
name=alsaequal
version=0.7.1
release=1
source=(https://github.com/bassdr/$name/archive/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
make Q= DESTDIR=$PKG install
}

46
alsaequal/README Normal file
View File

@ -0,0 +1,46 @@
README for alsaequal
POST-INSTALL
1. Add '/usr/lib/ladspa' to LD_LIBRARY_PATH.
2. Add the following to your ALSA configuration file:
/etc/asound.conf
--------------------------------------------------------------------------
ctl.equal {
type equal;
}
pcm.plugequal {
type equal;
# Modify the line below if you do not want to use sound card 0.
#slave.pcm "plughw:0,0";
# by default we want to play from more sources at time:
slave.pcm "plug:dmix";
}
# pcm.equal {
# If you do not want the equalizer to be your default soundcard
# comment the following line and uncomment the above line.
# (You can choose it as the output device by addressing it with specific
# apps,eg mpg123 -a equal 06.Back_In_Black.mp3)
pcm.!default {
type plug;
slave.pcm plugequal;
}
--------------------------------------------------------------------------
And you are ready to change your equalizer using command
$ alsamixer -D equal
Note that configuration file is different for each user (until not
specified else) it is saved in ~/.alsaequal.bin. So if you want to use
ALSAEqual with mpd or another software running under different user, you
can configure it using
$ su mpd -c 'alsamixer -D equal'
or for example, you can make a symlink to your .alsaequal.bin in his home.