SndPlayPcm(SonySMLibRefNum, NULL, sndPcmCmdPlay, soundTrefferPtr + 0x2c, &format, &options, NULL, true);
to play sound on Sony. I hope it will do it, I'm not really sure. The 0x2c is the offset from the beginning of the file to the first sample data. It's ADPCM with 4 bits.
Henk
Robert Purcell wrote:
I'm having a hard time getting the Sony API 'SndPlayPcmResource' to play PCM Wave resources.[...]
-- ------------------------------------------------------------------------- [EMAIL PROTECTED] www.metaviewsoft.de <A HREF="http://www.handango.com/PlatformTopSoftware.jsp?authorId=95946"> <IMG SRC="http://user.cs.tu-berlin.de/~jonash/werbung.jpg"></A> ------------------------------------------------------------------------- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
