mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Preparing for next version of CTDB
This commit is contained in:
@@ -6,11 +6,8 @@ namespace CUETools.CTDB
|
||||
{
|
||||
public class DBEntry
|
||||
{
|
||||
public byte[] parity;
|
||||
public int pos;
|
||||
public int len;
|
||||
public ushort[,] syndrome;
|
||||
public int conf;
|
||||
public int npar;
|
||||
public int stride;
|
||||
public int offset;
|
||||
public uint crc;
|
||||
@@ -22,20 +19,25 @@ namespace CUETools.CTDB
|
||||
public CDImageLayout toc;
|
||||
public string hasParity;
|
||||
|
||||
public DBEntry(byte[] parity, int pos, int len, int conf, int npar, int stride, uint crc, string id, CDImageLayout toc, string hasParity)
|
||||
public DBEntry(ushort[,] syndrome, int conf, int stride, uint crc, string id, CDImageLayout toc, string hasParity)
|
||||
{
|
||||
this.parity = parity;
|
||||
this.syndrome = syndrome;
|
||||
this.id = id;
|
||||
this.pos = pos;
|
||||
this.len = len;
|
||||
this.conf = conf;
|
||||
this.crc = crc;
|
||||
this.npar = npar;
|
||||
this.stride = stride;
|
||||
this.toc = toc;
|
||||
this.hasParity = hasParity;
|
||||
}
|
||||
|
||||
public int Npar
|
||||
{
|
||||
get
|
||||
{
|
||||
return syndrome.GetLength(1);
|
||||
}
|
||||
}
|
||||
|
||||
public string Status
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user