How to unlock the audio device on fedora
If use Fedora (I didn’t get yet this problems on Debian nor FreeBSD), probably you got stuck with the famous “Audio Device Locked” (or some similar text) when your viewing a flash-video on firefox. It is really annoying restart the computer or Xorg to solve that little problem, so I decide to Googling about its answer, despite I didn’t found anything, then I’ve tried a simple command that works, so I am sharing here a solution.
Execute the follow command as root,
$ kill -9 `lsof -t /dev/snd/* 2> /dev/null`
Warning, the previous command will close all the audio programs (i.e xmms, amarok, etc).
I love UNIX, I can’t figure out a live without it.
Read more at How to unlock the audio device on fedora
