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

@@ -360,7 +360,8 @@ namespace CUETools { namespace Codecs { namespace FLAC {
pcm = gcnew AudioPCMConfig(
metadata->data.stream_info.bits_per_sample,
metadata->data.stream_info.channels,
metadata->data.stream_info.sample_rate);
metadata->data.stream_info.sample_rate,
(AudioPCMConfig::SpeakerConfig)0);
_sampleCount = metadata->data.stream_info.total_samples;
}
//if (metadata->type == FLAC__METADATA_TYPE_VORBIS_COMMENT)