My Firefox crashed leaving part of an audio track stuck in a loop. How can I kill this audio process without logging out? (I don't know what process to kill)

OS: Linux - Fedora

Apparently the following command should restart the sound server /etc/init.d/alsasound restart but I don't have an alsasound script. I have also been told that nasd is the script to run but I don't have that either.

EDIT:

Alas, I couldn't hold out any longer. I rebooted my system and now all is fine. It wasn't until the final kill all processes that the sound actually stopped so I guess I don't have a service script to stop/start my sound.

link|improve this question

75% accept rate
You might try kill -9 $(pgrep firefox) (I've'nt used FF in a while - the process name may be different – new123456 Mar 9 '11 at 21:12
@new123456 Thanks for that, it was the first thing I tried but this sound process doesn't have Firefox in its name. BTW, I think killall firefox will do the same. – toc777 Mar 10 '11 at 11:45
feedback

1 Answer

up vote 0 down vote accepted

You can look what processes using the sound device and then kill them. To find out what uses sound run:

fuser -v /dev/snd/*

link|improve this answer
Even though I cannot test this on the actual problem I had. I think this would have worked so I'm accepting it as the answer. – toc777 Jul 5 '11 at 12:56
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.