0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
2024-06-24 21:44:28 +02:00

28 lines
668 B
Diff

diff --git a/src/conf/alsa.conf b/src/conf/alsa.conf
index e65bf2c..22e0730 100644
--- a/src/conf/alsa.conf
+++ b/src/conf/alsa.conf
@@ -8,10 +8,9 @@
{
func load
files [
- "/var/lib/alsa/conf.d"
- "/usr/etc/alsa/conf.d"
- "/etc/alsa/conf.d"
- "/etc/asound.conf|||/usr/etc/asound.conf"
+ "@TERMUX_PREFIX@/var/lib/alsa/conf.d"
+ "@TERMUX_PREFIX@/etc/alsa/conf.d"
+ "@TERMUX_PREFIX@/etc/asound.conf"
"~/.asoundrc"
{
@func concat
@@ -65,7 +64,7 @@ cards.@hooks [
file {
@func concat
strings [
- "/var/lib/alsa/card"
+ "@TERMUX_ALSA@/var/lib/alsa/card"
{ @func private_integer }
".conf.d"
]