Path: utzoo!attcan!uunet!munnari!castan From: castan@munnari.oz (Jason Castan) Newsgroups: comp.sys.mac.programmer Subject: Sys 6.0 sound manager on a plus Keywords: Sound Manager Message-ID: <2238@munnari.oz> Date: 19 Jul 88 02:30:10 GMT Organization: Comp Sci, Melbourne Uni, Australia Lines: 19 I have written some sound playing program which uses the new sound manager. However there seem to be some major differences between the mac ][ version, and the plus version. For instance, when playing snd format one resources I open a new channel with SndNewChannel - passing all the resource initialization variables, then call SndPlay (which works). However to dispose of the channel I call SndDisposeChannel - here is the problem. On a mac ][ this is ok - works with no problems, on a plus - it bombs (deleting SndDisposeChannel stops the bomb). Does anyone know if SndPlay destroys the channel itself? (which would be a prblem when playing async - like I am). The code looks something like: SndChannelPtr *chan; SndNewChannnel(&chan , ....); SndPlay(chan, TRUE); /* play asycronously */ while (stillplaying...) loop /* when finished */ SndDisposeChannel(chan, FALSE); /* works on ][/ bombs on + */ Any comments or suggestions would be great. Thanks, Jason.