1

Topic: VBOgg: OggIsPlaying Function

I would assume that you should be able to call this function to let you know if the last song played is still playing ... however, it appears to always return a 1, even after a song is done playing (and even after calling the StopOgg function).

When using the demo app/project that was zipped with the DLL, you can pick an OGG sound file to play ... and it plays it, but the "Go" button never becomes enabled again, unless the "Stop" button is pressed -- and that cmdStop routine explicitly resets the .Enable for the Go button.

Is it that I'm using too short of a sound file?  (I didn't have any WAV-format songs handy to be converted, so I used a 3-second-or-so long sound effect instead.)

-Bryk

Matt Worden Games ... DareBase, Castle Danger, Keeps & Moats Chess

2

Re: VBOgg: OggIsPlaying Function

That's entirely possible, given the way it's buffering the file. Give it a try with a longer file. I did here, just now, and it seemed to work properly. I'll give the Ogg class a look a bit later, just in case.

Are you playing?
http://www.atomicmonks.com/sig.php?a=av&pname=Brother%20Erryn