GAudio.GATAsyncWavWriter.StopAndFinalize C# (CSharp) 메소드

StopAndFinalize() 공개 메소드

Blocks further input, flushes what is left in the ring buffer to disk, and finalizes the header. As these operations are async, the file will not be immediately ready to be opened.
public StopAndFinalize ( ) : void
리턴 void
        public void StopAndFinalize()
        {
            _vDoWrite = false;
        }

Usage Example

예제 #1
0
 void OnDisable()
 {
     if (_writing)
     {
         _writer.StopAndFinalize();
         _writing = false;
     }
 }