[alsa-devel] [PATCH 2/3] Show a warning if the alsa wrapper failed.
Jordi Mallach
jordi at debian.org
Wed May 15 18:58:06 CEST 2013
If /proc/asound is not found, throw a warning and continue without
any wrapping.
Signed-off-by: Jordi Mallach <jordi at debian.org>
---
alsa/aoss.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/alsa/aoss.in b/alsa/aoss.in
index d8e1d6d..564eed9 100644
--- a/alsa/aoss.in
+++ b/alsa/aoss.in
@@ -9,6 +9,7 @@ if [ -d /proc/asound ]; then
libdir=@libdir@
LD_PRELOAD=${libdir}/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD} exec "$@"
else
+ echo "Warning: /proc/asound not found. Running without ALSA wrapper."
exec "$@"
fi
exit 1
--
1.7.10.4
More information about the Alsa-devel
mailing list