mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Removed AudioEncoderSettings/AudioDecoderSettings classes, all of their functionality is now in IAudioEncoderSettings/IAudioDecoderSettings interfaces.
This commit is contained in:
@@ -47,7 +47,7 @@ namespace CUETools.Converter
|
||||
throw new Exception("Unsupported audio type: " + path);
|
||||
|
||||
var decoder = fmt.decoder;
|
||||
if (chosenDecoder != null && !config.decodersViewModel.TryGetValue(fmt.extension, true, chosenDecoder, out decoder))
|
||||
if (chosenDecoder != null && !config.decodersViewModel.TryGetValue(fmt.extension, chosenDecoder, out decoder))
|
||||
throw new Exception("Unknown audio decoder " + chosenDecoder + " or unsupported audio type " + fmt.extension);
|
||||
if (decoder == null)
|
||||
throw new Exception("Unsupported audio type: " + path);
|
||||
|
||||
Reference in New Issue
Block a user