rajrakeshdr / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
0 stars 0 forks source link

Check for sound #260

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Tear your sound card out of your machine
2. Set a sound for something in PyChess e.g. moving
3. Make a move

What is the expected output? What do you see instead?

gstalsasink.c(640): gst_alsasink_open (): /audiosink-actual-sink-alsa:
Playback open error on device 'default': Ingen sådan enhed

PyChess should somehow test if sound is available on the system, and if
not, disable to possibility to play sounds.

Original issue reported on code.google.com by lobais on 15 Nov 2007 at 6:52

GoogleCodeExporter commented 9 years ago
Revision 772 will disable sounds when gstreamer sends errors.
I'm not sure if there might be any errors, that shouldn't result in this 
treatment
though.

Original comment by lobais on 20 Nov 2007 at 4:17

GoogleCodeExporter commented 9 years ago
Seams to work fine

Original comment by lobais on 9 Dec 2007 at 2:43