From 82a856915e46af731611d76b88ce1c8dc51ffe7a Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 6 Oct 2021 20:56:33 -0700 Subject: [PATCH] Add subchannel read note --- RedBookPlayer.Models/Discs/CompactDisc.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RedBookPlayer.Models/Discs/CompactDisc.cs b/RedBookPlayer.Models/Discs/CompactDisc.cs index 1cf5cbc..7624e30 100644 --- a/RedBookPlayer.Models/Discs/CompactDisc.cs +++ b/RedBookPlayer.Models/Discs/CompactDisc.cs @@ -370,6 +370,7 @@ namespace RedBookPlayer.Models.Discs /// Current number of sectors to read /// DataPlayback value indicating how to handle data tracks /// Byte array representing the read sectors, if possible + /// Should be a multiple of 96 bytes private byte[] ReadSectors(ulong startSector, uint sectorsToRead, DataPlayback dataPlayback) { if(TrackType == TrackType.Audio || dataPlayback == DataPlayback.Play) @@ -394,6 +395,7 @@ namespace RedBookPlayer.Models.Discs /// Sector to start at for reading /// Current number of sectors to read /// Byte array representing the read subchannels, if possible + /// Should be a multiple of 96 bytes private byte[] ReadSubchannels(ulong startSector, uint sectorsToRead) => _image.ReadSectorsTag(startSector, sectorsToRead, SectorTagType.CdSectorSubchannel);