Currently FLAC doesn't read the contents of
WAVEFORMATEXTENSIBLE_CHANNEL_MASK tag in a decoded FLAC file and doesn't
write correct channel mask to a WAV file.
(d->channel_mask == 0 inside DecoderSession_process() function in decode.c)

The attached patch fixes this problem but I'm not sure that
it doesn't have any side effects... Also, maybe it's better to call
FLAC__stream_decoder_set_metadata_respond() somewhere?

Attachment: mask.patch
Description: Binary data

_______________________________________________
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to