Path: utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!nrl-cmf!ames!claris!apple!han
From: han@Apple.COM (Byron Han, Architect)
Newsgroups: comp.sys.mac.programmer
Subject: Re: soundmanager question
Keywords: multiple channels
Message-ID: <21533@apple.Apple.COM>
Date: 2 Dec 88 05:23:05 GMT
References: <638@tuvie>
Organization: Apple Products - Networking & Communications
Lines: 35

In article <638@tuvie> gollman@tuvie (Georg Gollman) writes:
>
>
>
>I'm having trouble using the Sound Manager, maybe my documentation (final APDA 
>draft of IM V) or my system software (system file 4.2 on a MacII) is just 
>too old ...
>
>Anyway, what I want to do is to use more than one channel on the sampled sound
>synthesizer, but only the first channel I open (SndNewChannel) plays. BTW, the 
>order of channel initialisation (soundCmd) has no effect.
>
>Any ideas, any experience with the SM ???
>
First off, you should try and get ahold of the latest system software -
6.0.2 I believe is the latest.

Secondly, are you freeing the sound channel via SndDisposeChannel or passing
a freeCmd via SndDoCommand?  It seems like the channel and synthesizer
resources are not being freed up so that other calls are failing to
produce sound.

Hope this helps.

+-----------------------------------------------------------------------------+
| Disclaimer: Apple has no connection with my postings.                       |
+-----------------------------------------------------------------------------+
Byron Han, Communications Architect      Macintosh xxx: The Next Generation...
Apple Computer, Inc.                     -------------------------------------
20525 Mariani Ave, MS27Y                 Internet: han@apple.COM
Cupertino, CA 95014                      UUCP:{sun,voder,nsc,decwrl}!apple!han
--------------------------------------   GENIE: BYRONHAN
ATTnet: 408-974-6450   Applelink: HAN1   CompuServe: 72167,1664
------------------------------------------------------------------------------