Replaced C++/CLR version of Monkey's Audio plugin with a .dll and a PInvoke plugin

This commit is contained in:
Grigory Chudov
2018-03-26 20:11:49 -04:00
parent 320e75d709
commit e7c6a9c854
24 changed files with 732 additions and 1034 deletions

View File

@@ -51,7 +51,7 @@ namespace CUETools.Converter
throw new Exception("Unknown audio decoder " + chosenDecoder + " or unsupported audio type " + fmt.extension);
if (decoder == null)
throw new Exception("Unsupported audio type: " + path);
var settings = fmt.decoder.Settings.Clone();
var settings = decoder.Settings.Clone();
try
{
object src = Activator.CreateInstance(decoder.Settings.DecoderType, settings, path, IO);