mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
CUETools.Converter: support multichannel (non-stereo) files
This commit is contained in:
@@ -3875,9 +3875,10 @@ 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 AudioPCMConfig(bps, 2, 44100));
|
||||
return AudioReadWrite.GetAudioDest(_audioEncoderType, path, finalSampleCount, bps, 44100, padding, _config);
|
||||
return new DummyWriter(path, pcm);
|
||||
return AudioReadWrite.GetAudioDest(_audioEncoderType, path, finalSampleCount, padding, pcm, _config);
|
||||
}
|
||||
|
||||
internal IAudioSource GetAudioSource(int sourceIndex, bool pipe)
|
||||
|
||||
Reference in New Issue
Block a user