mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
alsa-lib: add /run/asound.conf as a config location
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
be1cb21b8a
commit
dec0ca839d
@ -31,8 +31,9 @@ mkdir -p $INSTALL/usr/lib/alsa
|
|||||||
cp -PR $PKG_BUILD/modules/mixer/simple/.libs/*.so $INSTALL/usr/lib/alsa
|
cp -PR $PKG_BUILD/modules/mixer/simple/.libs/*.so $INSTALL/usr/lib/alsa
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/share/alsa
|
mkdir -p $INSTALL/usr/share/alsa
|
||||||
sed 's%~/\.asoundrc%/storage/\.config/asound.conf%' \
|
# sed 's%~/\.asoundrc%/storage/\.config/asound.conf%' \
|
||||||
$PKG_BUILD/src/conf/alsa.conf > $INSTALL/usr/share/alsa/alsa.conf
|
# $PKG_BUILD/src/conf/alsa.conf > $INSTALL/usr/share/alsa/alsa.conf
|
||||||
|
cp -P $PKG_BUILD/src/conf/alsa.conf $INSTALL/usr/share/alsa
|
||||||
cp -P $PKG_BUILD/src/conf/smixer.conf $INSTALL/usr/share/alsa
|
cp -P $PKG_BUILD/src/conf/smixer.conf $INSTALL/usr/share/alsa
|
||||||
cp -P $PKG_BUILD/src/conf/*.alisp $INSTALL/usr/share/alsa
|
cp -P $PKG_BUILD/src/conf/*.alisp $INSTALL/usr/share/alsa
|
||||||
cp -PR $PKG_BUILD/src/conf/cards $INSTALL/usr/share/alsa/
|
cp -PR $PKG_BUILD/src/conf/cards $INSTALL/usr/share/alsa/
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
diff -Naur alsa-lib-1.0.25/src/conf/alsa.conf alsa-lib-1.0.25.patch/src/conf/alsa.conf
|
||||||
|
--- alsa-lib-1.0.25/src/conf/alsa.conf 2012-01-25 08:56:56.000000000 +0100
|
||||||
|
+++ alsa-lib-1.0.25.patch/src/conf/alsa.conf 2012-03-26 01:05:47.913335895 +0200
|
||||||
|
@@ -16,7 +16,8 @@
|
||||||
|
]
|
||||||
|
}
|
||||||
|
"/etc/asound.conf"
|
||||||
|
- "~/.asoundrc"
|
||||||
|
+ "/run/asound.conf"
|
||||||
|
+ "/storage/.config/asound.conf"
|
||||||
|
]
|
||||||
|
errors false
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user