alsa-plugins: added /etc/asound.conf defaulting to pulseaudio.

This commit is contained in:
Juan RP 2012-02-13 12:30:54 +01:00
parent bfbae11482
commit 26d3920230
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,16 @@
# Use pulseaudio by default
pcm.!default {
type pulse
fallback "sysdefault"
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound Server)"
}
}
ctl.!default {
type pulse
fallback "sysdefault"
}
# vim:set ft=alsaconf:

View file

@ -1,11 +1,14 @@
# Template build file for 'alsa-plugins'.
pkgname=alsa-plugins
version=1.0.25
revision=1
homepage="http://www.alsa-project.org"
distfiles="ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$version.tar.bz2"
build_style=gnu-configure
configure_args="--disable-maemo-plugin --with-speex=lib"
short_desc="Advanced Linux Sound Architecture (ALSA) extra plugins"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
checksum=a0e374fd6d5ee9683473a5b6e73dadde61d54851065ed670d6627d344b565aab
long_desc="
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
@ -14,6 +17,8 @@ long_desc="
This package includes some ALSA extra plugins for PulseAudio, Speex,
FFmpeg's libavcodec library and libsamplerate."
conf_files="/etc/asound.conf"
Add_dependency build pkg-config
Add_dependency build alsa-lib-devel
Add_dependency build speex-devel
@ -21,3 +26,7 @@ Add_dependency build ffmpeg-devel
Add_dependency build libsamplerate-devel
Add_dependency build pulseaudio-devel
Add_dependency build jack-devel
post_install() {
vinstall ${FILESDIR}/asound.conf 644 etc
}