mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2025-12-16 19:24:41 +00:00
Address review comments
This commit is contained in:
@@ -1369,13 +1369,14 @@ namespace RedBookPlayer.Models.Hardware
|
||||
/// </summary>
|
||||
/// <param name="subchannelData">Raw subchannel data to format</param>
|
||||
/// <returns>Dictionary mapping subchannel to formatted data</returns>
|
||||
private Dictionary<char, byte[]> ConvertSubchannels(byte[] subchannelData)
|
||||
Dictionary<char, byte[]> ConvertSubchannels(byte[] subchannelData)
|
||||
{
|
||||
if(subchannelData == null || subchannelData.Length % 96 != 0)
|
||||
return null;
|
||||
|
||||
// Parse the subchannel data, if possible
|
||||
var parsedSubchannelData = ParseSubchannels(subchannelData);
|
||||
|
||||
return ConvertSubchannels(parsedSubchannelData);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user