At 04:15 AM 9/22/2005, Logan Shaw <[EMAIL PROTECTED]> wrote:
I haven't read all the history of your problem, but I have two questions:

1.  Do you have the correct sample rate in that WAV header?
     That could cause playback at the wrong speed.

Sample rate is correct. The problem is that for some reason it's getting only half the sample bytes. I pass no paramaters differently to the SndStreamXXX functions, yet it's as if they are confused. My callback only gets called half the number of times when I go into Wave mode then in Raw mode (and the Wave-versus-raw distinction is only known by my code - to the OS it's just Raw mode)

2.  If you have the correct sample rate, are you correctly marking
     it as a mono file?  If you put mono sample data in and mark it
     as stereo, each channel will have half the samples it should,
     so it will play at double speed (and double pitch).

Yes, it's marked as mono.

I'm very confused...


----
Tom Frauenhofer, [EMAIL PROTECTED]
Palm OSĀ® Certified Developer
http://www.beret.com
My Blog: http://tomfrauen.blogspot.com

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.2/105 - Release Date: 9/19/2005



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to