|
From: | Petr Kadlec |
Subject: | [Bug-gnubg] Sound problems on Windows |
Date: | Sat, 10 Apr 2004 18:20:18 +0200 |
Hi all!One more sound-related problem with gnubg: As I have already mentioned, gnubg hangs when it tries to play a sound on a computer without a soundcard. That is unfortunate, but can be (at least temporarily) lived with, because if the sounds are disabled in gnubg rc file, the problem does not appear. But the SoundWait function executes always, even with sounds disabled. So that on a computer without soundcard, gnubg freezes when terminating. So, as the first step, I suggest that SoundWait should do nothing when sounds are disabled. The second step should be to solve the problem of computers without sound cards properly. Theoretically, this should be probably done using some detection of presence of the sound card, but I know of no such method. (A "solution" to the problem would also be not to wait for sounds to finish, i.e. return to the state implemented in gnubg some time ago.) Any better ideas?
Petr --If you stay up all night wondering where the sun is, it will dawn on you.
[Prev in Thread] | Current Thread | [Next in Thread] |