mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
WavPack can also be read from RAR archive
This commit is contained in:
@@ -88,10 +88,7 @@ namespace FLACDotNet {
|
||||
_sampleBuffer = nullptr;
|
||||
_path = path;
|
||||
|
||||
if (IO)
|
||||
_IO = IO;
|
||||
else
|
||||
_IO = gcnew FileStream (path, FileMode::Open, FileAccess::Read, FileShare::Read);
|
||||
_IO = (IO != nullptr) ? IO : gcnew FileStream (path, FileMode::Open, FileAccess::Read, FileShare::Read);
|
||||
|
||||
_decoder = FLAC__stream_decoder_new();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user