mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Refactoring codecs infrastructure:
AudioWriterSettings passed to IAdioDest constructors now AudioWriterSettings now includes AudioPCMConfig
This commit is contained in:
@@ -242,7 +242,7 @@ namespace CUETools.ConsoleRipper
|
||||
cueFile.Close();
|
||||
|
||||
//IAudioDest audioDest = new FLACWriter(destFile, audioSource.BitsPerSample, audioSource.ChannelCount, audioSource.SampleRate);
|
||||
IAudioDest audioDest = new WAVWriter(destFile, null, audioSource.PCM);
|
||||
IAudioDest audioDest = new WAVWriter(destFile, null, new WAVWriterSettings(audioSource.PCM));
|
||||
audioDest.FinalSampleCount = audioSource.Length;
|
||||
while (audioSource.Read(buff, -1) != 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user