WavPackWriter: support multichannel audio, channelMask

This commit is contained in:
Grigory Chudov
2013-04-14 17:17:47 -04:00
parent 563f066646
commit e480b1612e
4 changed files with 8 additions and 7 deletions

View File

@@ -128,7 +128,8 @@ namespace CUETools { namespace Codecs { namespace APE {
pcm = gcnew AudioPCMConfig(
pAPEDecompress->GetInfo (APE_INFO_BITS_PER_SAMPLE, 0, 0),
pAPEDecompress->GetInfo (APE_INFO_CHANNELS, 0, 0),
pAPEDecompress->GetInfo (APE_INFO_SAMPLE_RATE, 0, 0));
pAPEDecompress->GetInfo (APE_INFO_SAMPLE_RATE, 0, 0),
(AudioPCMConfig::SpeakerConfig)0);
// make a buffer to hold 16384 blocks of audio data
nBlockAlign = pAPEDecompress->GetInfo (APE_INFO_BLOCK_ALIGN, 0, 0);