mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
* preserving modification times
This commit is contained in:
@@ -104,7 +104,8 @@ namespace CUEToolsLib {
|
||||
|
||||
public WAVReader(string path) {
|
||||
_path = path;
|
||||
_fs = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
//_fs = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
_fs = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read, 0x10000, FileOptions.SequentialScan);
|
||||
_br = new BinaryReader(_fs);
|
||||
|
||||
ParseHeaders();
|
||||
@@ -416,9 +417,9 @@ namespace CUEToolsLib {
|
||||
set { _flacReader.Tags = value; }
|
||||
}
|
||||
|
||||
public bool UpdateTags()
|
||||
public bool UpdateTags(bool preserveTime)
|
||||
{
|
||||
return _flacReader.UpdateTags();
|
||||
return _flacReader.UpdateTags(preserveTime);
|
||||
}
|
||||
|
||||
public ulong Length {
|
||||
|
||||
Reference in New Issue
Block a user