mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
ALAC can also be read from RAR archive
This commit is contained in:
@@ -22,7 +22,7 @@ namespace CUEToolsLib {
|
||||
case ".ape":
|
||||
return new APEReader(path);
|
||||
case ".m4a":
|
||||
return new ALACReader(path);
|
||||
return new ALACReader(path, null);
|
||||
#endif
|
||||
default:
|
||||
throw new Exception("Unsupported audio type.");
|
||||
@@ -37,6 +37,8 @@ namespace CUEToolsLib {
|
||||
#if !MONO
|
||||
case ".flac":
|
||||
return new FLACReader(path, IO);
|
||||
case ".m4a":
|
||||
return new ALACReader(path, IO);
|
||||
#endif
|
||||
default:
|
||||
throw new Exception("Unsupported audio type in archive.");
|
||||
|
||||
Reference in New Issue
Block a user