gt0t+@andrew.cmu.edu (Gregory Ross Thompson) (05/08/91)
I've got a question for those of you who have played with the sound tools. I'm trying to use _FFSetUpSound to set up the same wave to play through both channels, and then use _FFStartPlaying. First question: For the docBuffer and bufferSize, what's correct? Toolbox 2 and IIGS Tech note #37 say: docBuffer - Word - DOC buffer start address: high order byte significant. bufferSize - Word - DOC buffer size: low order byte significant The code example at the end of technote #37 shows just the opposite. They have the size in the high byte, and the buffer location in the low byte. Which is right? I'm pretty sure that TB #2 is right. That's the way I've been doing it, and it works for the most part... Can someone at Apple fix the Tech note? Question #2: Why does _FFSetUpSound start playing the sound? It loads the first chunk of the sound into DOC RAM, and plays it over and over again until I issue an _FFStartPlaying, at which point the sound plays normally. Why the hell is this happening? -Greg T. InterNet: gt0t+@andrew.cmu.edu BITNet : R746GT0T@CMCCVB AOL : GRThompson