Add option to fix CD audio track offsets.

This commit is contained in:
2019-12-25 18:25:25 +00:00
parent fb4eba6703
commit ab15af62d3
4 changed files with 53 additions and 3 deletions

View File

@@ -33,6 +33,7 @@ namespace DiscImageChef.Core.Devices.Dumping
readonly bool _stopOnError;
bool _aborted;
bool _dumpFirstTrackPregap;
bool _fixOffset;
Resume _resume;
Sidecar _sidecarClass;
uint _skip;
@@ -61,7 +62,8 @@ namespace DiscImageChef.Core.Devices.Dumping
public Dump(bool doResume, Device dev, string devicePath, IWritableImage outputPlugin, ushort retryPasses,
bool force, bool dumpRaw, bool persistent, bool stopOnError, Resume resume, DumpLog dumpLog,
Encoding encoding, string outputPrefix, string outputPath, Dictionary<string, string> formatOptions,
CICMMetadataType preSidecar, uint skip, bool nometadata, bool notrim, bool dumpFirstTrackPregap)
CICMMetadataType preSidecar, uint skip, bool nometadata, bool notrim, bool dumpFirstTrackPregap,
bool fixOffset)
{
_doResume = doResume;
_dev = dev;
@@ -84,6 +86,7 @@ namespace DiscImageChef.Core.Devices.Dumping
_notrim = notrim;
_dumpFirstTrackPregap = dumpFirstTrackPregap;
_aborted = false;
_fixOffset = fixOffset;
}
/// <summary>Starts dumping with the stablished fields and autodetecting the device type</summary>