mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Cleanup
This commit is contained in:
@@ -2454,7 +2454,7 @@ namespace JDP
|
||||
else
|
||||
SelectedOutputAudioFmt.encoderLossy = encoder;
|
||||
// TODO: something cleverer than this hack...
|
||||
if (encoder.settings != null) encoder.settings.PCM = AudioPCMConfig.RedBook;
|
||||
encoder.settings.PCM = AudioPCMConfig.RedBook;
|
||||
string[] modes = encoder.SupportedModes;
|
||||
if (modes == null || modes.Length < 2)
|
||||
{
|
||||
@@ -2465,7 +2465,7 @@ namespace JDP
|
||||
}
|
||||
else
|
||||
{
|
||||
if (encoder.EncoderModeIndex == -1 && encoder.settings != null)
|
||||
if (encoder.EncoderModeIndex == -1)
|
||||
{
|
||||
string defaultMode;
|
||||
encoder.settings.GetSupportedModes(out defaultMode);
|
||||
|
||||
Reference in New Issue
Block a user