search for: sdl_seterror

Displaying 1 result from an estimated 1 matches for "sdl_seterror".

Did you mean: sdl_geterror
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 ?
...e the music structure */ memset(music, 0, (sizeof *music)); OGG_stop(music); OGG_setvolume(music, MIX_MAX_VOLUME); music->section = -1; if ( ov_open(fp, &music->vf, NULL, 0) < 0 ) { SDL_SetError("Not an Ogg Vorbis audio stream"); free(music); return(NULL); ..... <p>And playing the ogg: /* Read some Ogg stream data and convert it for output */ static void OGG_getsome(OGG_music *music) { int section; int len;...