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
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.