ALAC can also be read from RAR archive

This commit is contained in:
chudov
2008-11-10 10:31:35 +00:00
parent df34997334
commit 9f4ceab16e
3 changed files with 42 additions and 35 deletions

View File

@@ -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.");