On Feb 19, 2007, at 4:46 PM, Luis Cordova wrote:

> no wonder why nothing appears, but what is wrong now?
> is it the little big endian difference or what else could it be? I am
> presumably not reading or getting the values correctly from the file,
> although when playback is set to play I can hear the sound file ok.
>
> x = -2147483648
> theCenter = 150
> n = 0
> x = -2147483648
> theCenter = 150
> n = 0

It's hard for me to debug without running it myself, but yes, there  
is probably an endian issue(s) somewhere. I believe the samples are  
supposed to be in big endian format. Memoryblocks (IIRC) are big  
endian by default on the Mac and little Endian on Windows. (I could  
be wrong about this). So, maybe try forcing the memoryBlocks to big  
endian? Also, your sample rate looked like it got mangled in the  
process too. Not sure if this is inhibiting you.

Erick
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to