Yes, the example worked. Apologies for overlooking that.

I tried several more wav files on my machine and most wouldn't play. I
wasn't getting any errors, but I wasn't hearing anything either. I did
get one to play, but the next file I tried resulted in an error. I
tried to run the example again after that and no sound was audible.

-austin

-- 
Austin Haas
Pet Tomato, Inc.
http://pettomato.com

On Fri Jul 11 11:51 , Luke Crook wrote:
> On Thu, 10 Jul 2008 06:15:14 -0700, Austin Haas <[EMAIL PROTECTED]>  
> wrote:
> 
> > Hi, I'm trying to load a wave file with sdl-mixer:load-sample, but I'm  
> > getting a SIMPLE-ERROR which states: Cannot load myfile.wav.
> >
> > I believe I've narrowed it down to the call to Load-WAV-RW in Load-WAV.  
> > The pointer is not null when it returns from SDL-RW-FROM-FILE, but is  
> > null after returning from Load-WAV-RW.
> >
> > Are there any likely causes for this problem?
> 
> Yes. SDL-RW-FROM-FILE finds the file on the disk and returns a new rwops  
> structure. When Load-WAV-RW attempts to load the WAV data from the rwops  
> structure it fails. Can you play the sample in the example  
> (SDL-MIXER-EXAMPLES:MIXER) ?
> 
> - Luke
> _______________________________________________
> application-builder mailing list
> [email protected]
> http://www.lispniks.com/mailman/listinfo/application-builder
> 

_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to