Репозитории 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
artsplay=artsplay
pulseaudio=pulseaudio
paplay=paplay
esdplay=esdplay
[ -n "$*" ] || exit
if pidof -s artsd >/dev/null; then
exec $artsplay "$@"
elif $pulseaudio --check 2>/dev/null; then
PULSE_PROP='media.role=event' exec sox "$@" -t wav - | $paplay
elif [ -S /tmp/.esd-${UID}/socket ]; then
exec $esdplay "$@"
else
exec play -v 0.5 "$@"
fi