From: Sam S. <sam...@gm...> - 2006-05-14 06:16:56
|
I'm running into some trouble with the Stream API. I wrote a little tone generator to use with DreamZZT, it seems to work fine the first time it plays a tune, but once the tune is over I can't get it to play anything else (I just get static or silence). Is there something I have to do to reset something after the tune is done, so the object can be reused? I'm returning GDEOS when the tune is finished, but that seems to get the object into a state where it wont play anything else. For reference, the source files are: http://svn.c99.org/svn/DreamZZT/trunk/include/sound.h http://svn.c99.org/svn/DreamZZT/trunk/src/sound.cpp -Sam |