Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
    
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
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/*

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .