public ScannerAudio() { _writeToFile = false; _listDataBuffer_Audio = new ReadWriteBuffer (65535); _streamingPlayer = new StreamingPlaybackV2 (); _streamingPlayer.Start (); }
public void Dispose() { if (_writeToFile) StopOutputToFile (); _listDataBuffer_Audio = null; _streamingPlayer.Dispose (); _streamingPlayer = null; }