Displaying 1 result from an estimated 1 matches for "ogg_music".
2004 Apr 21
3
Streaming ogg from filepointer pointing to archive of many oggs. Ogg stream does not stop after end of one ogg file - what to do ?
...layback must end after the current ogg, so the user can select a
random new ogg file, place the filepointer to it and play the ogg.
So is there a method to determine when one ogg file ended and the other
begins ?
Current code looks like this:
/* Load an OGG stream from the given file pointer */
OGG_music *OGG_new(FILE *fp)
{
OGG_music *music;int xx;
music = (OGG_music *)malloc(sizeof *music);
if ( music ) {
/* Initialize the music structure */
memset(music, 0, (sizeof *music));
OGG_stop(music);
OGG_setvolume(mu...