Path: chuka.playstation.co.uk!news From: Jim Newsgroups: scee.yaroze.programming.sound Subject: Help! Date: Sun, 08 Mar 1998 02:15:17 +0000 Organization: Mobius Codeworks Ltd. Lines: 29 Message-ID: <3501FF35.B85A176F@codeworks.demon.co.uk> NNTP-Posting-Host: codeworks.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en] (WinNT; I) Hi All, Ok I'm loosing hair rapidly. I have sound effects in my program. And they work (and sound) fine. But now my program appears to be crashing, Its easily reproducible, so testing to see if it's working is trivial. If I remove all the sound api function calls the code works fine. And everything works fine up to this one location in the game where it will crash without fail. I seem to remember hearing that samples should be evenly divisible by 28. Could this cause a crash? or was it just referring to loops? Are there any other Gotchas with the sound api? Do .vh and .vb have to remain in main memory after SsVabTransfer? I've also had problems with a .vb straddling address 0x80100000. It worked fine though if I moved it to 0x80120000. The executable is located at 0x80170000 and from checking the mapfile, does not appear to hit the stack. Any insights would be most welcome. Cheers /Jim