View previous topic :: View next topic |
Author |
Message |
dark_teferi Tux's lil' helper
Joined: 07 Aug 2003 Posts: 138 Location: AZ
|
Posted: Thu Dec 14, 2006 6:45 am Post subject: How can I figure out which app is using sound? |
|
|
I want to try and use my cron as an alarm clock to wake me up in the morning, but i've been having a lot of trouble with it lately because sometimes when mpg123 attempts to run via cron it can not use my sound device because it is already in use. Is there any simple way to discover which program is using sound so I can kill it a minute or so before my cron executes mpg123? (Yeah... I dont have hardware mixing.... or DMIX working... and I dont have a sound card at all) _________________ "Rain from this storm leaves you pinned to the ground like an insect" |
|
Back to top |
|
|
tmr n00b
Joined: 19 Sep 2002 Posts: 48 Location: Finland
|
Posted: Thu Dec 14, 2006 11:00 am Post subject: |
|
|
You could try
Code: | lsof|grep -e sound -e snd |
|
|
Back to top |
|
|
|