GAudio.StreamToCacheModule.Start C# (CSharp) Method

Start() protected method

protected Start ( ) : void
return void
        protected override void Start()
        {
            if( _isInited )
                return;

            base.Start();

            if( _stream == null )
            {
                this.enabled = false;
                return;
            }

            _streamToCache = new GATAudioThreadStreamToCache( _stream, null );

            _isInited = true;

            if( allocateCacheInStart )
            {
                AllocateCaches( cacheDuration, useManagedData );
            }
        }