Just reading up on audio stuff since I haven't touched it in about a year or so.
What's the gig with these two commands? From the docs:
Both functions accept a tChannel parameter, so you can specify a particular channel (created with AllocChannel()) to play through. Both return a tChannel object, so you can specify a particular channel (created with AllocChannel()) to play through.
Is this simply two different ways of achieving the same end result? OR am I missing the point of having a channel parameter *and* having a channel object returned from either function?
What's the gig with these two commands? From the docs:
Function PlaySound:TChannel( sound:TSound,channel:TChannel=Null )
Function CueSound:TChannel( sound:TSound,channel:TChannel=Null )
Both functions accept a tChannel parameter, so you can specify a particular channel (created with AllocChannel()) to play through. Both return a tChannel object, so you can specify a particular channel (created with AllocChannel()) to play through.
Is this simply two different ways of achieving the same end result? OR am I missing the point of having a channel parameter *and* having a channel object returned from either function?