Thanks Torsten for your very good and exact answer
i now use parallel to the preshutdownscript of mythtv your script in an
light edited style
if silence is detected your script kills vlc, mythtvfrontend and
rhytmbox instances. Then my existing preshutdown script returns 0 so the
mythbacke
Hello again,
a simple bash script that you can run with
start-stop-daemon --start --background --exec /path/to/file
will do the job. Just adjust the value "timeout_sec" (time in seconds
after function timeout() will be called), "freq_sec" (time in seconds
of the pause between two checks) and
"su
Hello Robert,
take a look into the /proc/asound folder, there you find alsa status
informations. For example if I do a 'cat' on my PC on the file
/proc/asound/card0/pcm0p/sub0/hw_params
it returns "closed" if no sound is running and information about
samplerate and so on if sound is running.
Gr