Path: chuka.playstation.co.uk!news From: Alex Herbert Newsgroups: scee.yaroze.programming.sound Subject: Re: flushing sound mem Date: Fri, 01 May 1998 02:04:41 +0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 20 Message-ID: <35491FA9.EE16905@ndirect.co.uk> References: <6iavak$lbr5@chuka.playstation.co.uk> Reply-To: aherbert@ndirect.co.uk NNTP-Posting-Host: dialin0-43.ndirect.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en] (Win95; I) To: Steve Dunn Steve Dunn wrote: > Does anyone know how to clear the whole of the SPU ? I'm > finding that If I start my 'game' and load the vb into SPU, it works fine > the first time, but if(when!) after the thing goes t*ts up and I try to > reload the vb into spu (after restarting the game but not resetting the psx), I > get a -1 for the handle. The VB file is quite large (over half the size of the > sound ram), so I'm assuming it can't be transferred the 2nd time because theres > not enough room for it. > > Steve If you are restarting the game without resetting, can you not close any open VBs? (Can't remember the function call off hand.) It's the OS that manages the SPU RAM, so the OS must think that your previous VB is still in use. Remember, handles start at 0 and increment, so try closing handle 0 and that may free it up. Alex (Herbs)