mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Removed lossyWAV support from CUETools - it was outdated anyway
This commit is contained in:
@@ -3876,9 +3876,8 @@ namespace CUETools.Processor
|
||||
private IAudioDest GetAudioDest(string path, int finalSampleCount, int bps, int padding, bool noOutput)
|
||||
{
|
||||
var pcm = new AudioPCMConfig(bps, 2, 44100);
|
||||
if (noOutput)
|
||||
return new DummyWriter(path, new AudioEncoderSettings(pcm));
|
||||
return AudioReadWrite.GetAudioDest(_audioEncoderType, path, finalSampleCount, padding, pcm, _config);
|
||||
string extension = Path.GetExtension(path).ToLower();
|
||||
return AudioReadWrite.GetAudioDest(noOutput ? AudioEncoderType.NoAudio : _audioEncoderType, path, pcm, finalSampleCount, padding, extension, _config);
|
||||
}
|
||||
|
||||
internal IAudioSource GetAudioSource(int sourceIndex, bool pipe)
|
||||
|
||||
Reference in New Issue
Block a user