Репозитории ALT
S: | 0.6.0-alt1 |
5.1: | 0.4.0-alt0.M51.1 |
4.1: | 0.3.1-alt0.M41.1 |
4.0: | 0.2.0-alt1 |
3.0: | 0.2.0-alt1 |
Группа :: Звук
Пакет: sound_handler
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
#!/bin/sh
[ -n "$*" ] || exit
pulseaudio=`which pulseaudio 2>/dev/null`
paplay=`which paplay 2>/dev/null`
if [ -n "$pulseaudio" -a -n "$paplay" ] && $pulseaudio --check 2>/dev/null; then
PULSE_PROP='media.role=event' exec sox "$@" -t wav - | $paplay
else
esdplay=`which esdplay 2>/dev/null`
if [ -S /tmp/.esd-${UID}/socket -a -n "$esdplay" ]; then
exec $esdplay "$@"
else
exec play -v 0.5 "$@"
fi
fi