Displaying 1 result from an estimated 1 matches for "mix_max_volum".
Did you mean:
mix_max_volume
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 ?
..._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(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 playin...