Not logged inGosu Forums
Forum back to Help Search Register Login
Up Topic Gosu / Gosu Exchange / Song breaks on Ruby/Windows
- - By Spooner Date 2011-07-04 20:59
Right, I'm playing a specific ogg track, which loads and plays fine. However, in some circumstances it doesn't act properly. It plays, but #playing? is false and it ignores #stop and #volume=. Song.current_song is set to nil. In other circumstances it acts perfectly as you'd expect it to and this is consistent because I can perfectly replicate the two situations (even though they are the same code playing the same music, they happen at different times during the game, Wrath).

Importantly, it _always_ works correctly with Linux, so I have to assume it is an issue with the Windows sound implementation.

I've not been able to work out a minimal test case for causing this failure, but hopefully this might give you a eureka moment... (I could tell you how to make it happen in Wrath, which isn't super-complex, but I'm sure that would, in no way, help you to debug it :D).
Parent - By lol_o2 Date 2011-07-05 06:44
Same happens to me. Sometimes even one song plays over second.
Parent - - By jlnr (dev) Date 2011-07-05 10:49
Since Audiere seems to cause some really spurious crashes, I think I'll just rip it out of Gosu anyway :(
Parent - By Spooner Date 2011-07-05 13:19
Okey-dokey. I will live with it for the time being then :)

Up Topic Gosu / Gosu Exchange / Song breaks on Ruby/Windows

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill