Media Players - Hardy

Phil Sexton philsexton at skybest.com
Mon Jun 23 09:19:54 UTC 2008


hippie dream wrote:
> 
> 
> Most likely you have some issues with your low-level sound configuraton,
> things like you describe used to happen to me when I had some flash
> animation in firefox locking sound card.
> 
> *I am finding that this is exactly when my audio player no longer works. It
> seems that whichever process (flash or media player) is open first will
> prevent subsequent audio from playing.*
> 
> If your player freezes or do not play, you can try
> 
>    sudo lsof /dev/snd/*
> 
> *I tried this but not entirely sure which exactly is the offending process
> or even how I close it.*

You can close a process with the kill command.

See man kill

> COMMAND    PID USER   FD   TYPE DEVICE SIZE  NODE NAME
> pulseaudi 5867  sam   17w   CHR  116,0      11509 /dev/snd/controlC0
> pulseaudi 5867  sam   24u   CHR  116,0      11509 /dev/snd/controlC0
> mixer_app 6084  sam   20r   CHR  116,0      11509 /dev/snd/controlC0
> firefox   6175  sam  mem    CHR 116,16      11467 /dev/snd/pcmC0D0p
> firefox   6175  sam   49r   CHR 116,33      11289 /dev/snd/timer
> firefox   6175  sam   52u   CHR 116,16      11467 /dev/snd/pcmC0D0p
> firefox   6175  sam   53u   CHR  116,0      11509 /dev/snd/controlC0

Examples, to stop the mixer_app, the process ID is 6084, so try

kill 6084
kill -9 6084

-- 
Phil Sexton: http://www.myspace.com/philsexton
Praise Whistlers Abroad: http://praisewhistlers.org/
Naomi's Fancy: http://www.naomisfancy.net/
Naomi's Fancy myspace: http://www.myspace.com/naomisfancy
The Old Bush: http://www.cdbaby.com/naomisfancy
Crossing Borders: http://cdbaby.com/cd/naomisfancy2
Naomi's Fancy Free tunes: 
http://www.naomisfancy.net/modules.php?name=Downloads




More information about the ubuntu-users mailing list