Tom Frauenhofer wrote:
For a roughly 6-second recording the callback gets invoked approximately
60 times in RAW mode and approximately 30 times in Wave mode. When I play
back the files, the RAW file is a the proper speed, but the Wave file is
at double speed.
(And I know, it doesn't make any sense. The only difference is that I
have written 44 bytes to the head of the VFS file. Really strange.)
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.
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).
Not sure if those are your problem, but who knows...
- Logan
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/