neharob / hotot

Automatically exported from code.google.com/p/hotot
0 stars 0 forks source link

Hotot grabs /dev/dsp even with sound disabled #441

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load up hotot
2. Run lsof | grep dsp ; it shows hotot grabbed /dev/dsp
3. Try to play anything with sound. It will fail.

What is the expected output? What do you see instead?
Expected to be able to have it NOT grab the sound device (especially the old, 
ancient /dev/dsp which is OSS), since I use ALSA

What version of the product are you using? On what operating system and
what Desktop Environment?
Debian Squeeze 6.0, amd64, fluxbox

Please provide any additional information below.
Something in hotot is grabbing the audio. In data/index.html, I commented out 
the line which reads:
<audio id="audio_notify" src="./sound/notify.wav"></audio>

Once I did that, it stopped grabbing the sound card away. This is probably not 
the best workaround, though.

Original issue reported on code.google.com by t...@pertho.net on 28 Aug 2011 at 7:27

GoogleCodeExporter commented 9 years ago
I think that is a gstreamer problem. it chose oss as backend. have you 
installed gstreamer0.10-alsa?

Original comment by xnrefor...@gmail.com on 21 Sep 2011 at 2:06

GoogleCodeExporter commented 9 years ago
I installed gstreamer0.10-alsa and same behavior occurs.
Do I need to configure anything?

Original comment by t...@pertho.net on 22 Sep 2011 at 7:05

GoogleCodeExporter commented 9 years ago
run gstreamer-properties and select alsa plugins as default output.
or edit gconf database
gconftool-2 --type string --set /system/gstreamer/0.10/default/audiosink 
"alsasink"
gconftool-2 --type string --set /system/gstreamer/0.10/default/musicaudiosink 
"alsasink"

Original comment by xnrefor...@gmail.com on 23 Sep 2011 at 8:12

GoogleCodeExporter commented 9 years ago
Hi.

This seems to have sorted it. Thanks!

Original comment by t...@pertho.net on 25 Sep 2011 at 10:46

GoogleCodeExporter commented 9 years ago

Original comment by xnrefor...@gmail.com on 25 Sep 2011 at 11:19