GAudio.AGATWrappedSample.PlayScheduledThroughTrack C# (CSharp) Method

PlayScheduledThroughTrack() public method

Plays the sample through the specified player's track trackNb
public PlayScheduledThroughTrack ( GATPlayer player, double dspTime, int trackNb, float gain = 1f ) : void
player GATPlayer
dspTime double
trackNb int
gain float
return void
        public void PlayScheduledThroughTrack( GATPlayer player, double dspTime, int trackNb, float gain = 1f )
        {
            if( PlayingStatus != Status.ReadyToPlay )
                return;

            PlayingStatus = Status.Scheduled;
            player.PlayDataScheduled( _dataOwner.AudioData, dspTime, trackNb, gain, PlayerWillMixSample );
            _endDspTime = dspTime + MaxDuration;
        }

Same methods

AGATWrappedSample::PlayScheduledThroughTrack ( double dspTime, int trackNb, float gain = 1f ) : void