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:
@@ -327,7 +327,7 @@ namespace CUETools.Codecs
|
||||
|
||||
public void Prepare(IAudioDest dest)
|
||||
{
|
||||
if (dest.PCM.ChannelCount != pcm.ChannelCount || dest.PCM.BitsPerSample != pcm.BitsPerSample)
|
||||
if (dest.Settings.PCM.ChannelCount != pcm.ChannelCount || dest.Settings.PCM.BitsPerSample != pcm.BitsPerSample)
|
||||
throw new Exception("AudioBuffer format mismatch");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user