GAudio.GATAudioThreadStreamToTrack.Stop C# (CSharp) Method

Stop() public method

Stops streaming to the track, which will then be available to other contributors.
public Stop ( ) : void
return void
        public void Stop()
        {
            _track.UnsubscribeContributor( this );
            _stream.RemoveAudioThreadStreamClient( this );
        }

Usage Example

Esempio n. 1
0
 void OnDisable()
 {
     if (_streamToTrack != null)
     {
         _streamToTrack.Stop();
     }
 }