Smpeg problem

Hi,

I’ve upgraded to smpeg-0.4.2 but now I get an assertion in mpegtoraw.c
line 469 ?
Anybody know why this should be happening ?
It occurs on all MP3’s …

Thanx.------------------
Skrag
Dask

Hi all,

I’ve tried this with both SDL_mixer 1.0.6 and 1.1.0. If I load
an mp3 and loop it, it plays forever, just like it should. But
if I instead load an .ogg file (Ogg Vorbis) it plays only once
(same looping flag).

Anyone else encountered this problem or know a workaround?

Here’s some pseudocode to illustrate what I’m trying…

#include “SDL.h”
#include “SDL_mixer.h”

char *myfile1 = “myMusic.ogg”;
char *myfile2 = “myMusic.mp3”;

int main()
{

Mix_Music *music = NULL;

//  Init SDL

music = Mix_LoadMUS( myfile1 );  //  Plays once only
//music = Mix_LoadMUS( myfile2 );  //  Loops continuously

// check if music == NULL

if ( !Mix_PlayingMusic() ) {
	Mix_FadeInMusic( music, -1, 1500 );
}

while ( 1 ) {
	//  Listen to the (hopefully looping) music...
}

return 0;

}

Thanks,

Steve Madsen
H2Eye Ltd
24-28 Hatton Wall
London EC1N 8JH
UNITED KINGDOM (UK)
Tel: +44 207 404 9600 (0207 404 9600 within UK)
Fax: +44 207 404 9490 (0207 404 9490 within UK)
Email: @Steve_Madsen