[SDL] SDL_mixer-zzip-GUIDO

Sam Lantinga slouken at devolution.com
Wed May 14 19:53:02 PDT 2003


> Hi,

> your problem might be here:

> if((veri = SDL_RWFromZZIP("demoDATA/music.wav", "r")) == NULL){
>    printf("ERROR: %\n",SDL_GetError());    /* should be "ERROR: %s\n" */
>    exit(2);
> }

You probably also need to open the wave file with mode "rb"

See ya,
	-Sam Lantinga, Software Engineer, Blizzard Entertainment




More information about the SDL mailing list