private void Dispose(bool isDisposing) { if (isDisposing) { if (_mediaDecoder != null) { _mediaDecoder.Dispose(); _mediaDecoder = null; } _buffersQueue = null; _mediaSource = null; } }
private void Dispose(bool isDisposing) { if (isDisposing) { if (_mediaDecoder != null) { _mediaDecoder.Dispose(); _mediaDecoder = null; } _buffersQueue = null; _mediaSource = null; } }
private FlacMediaSourceAdapter() { _buffersQueue = new ConcurrentQueue<IBuffer>(); _mediaDecoder = new FlacMediaDecoder(); }
private FlacMediaSourceAdapter() { _buffersQueue = new ConcurrentQueue <IBuffer>(); _mediaDecoder = new FlacMediaDecoder(); }