[flac-dev] PATCH: WAVEFORMATEXTENSIBLE_CHANNEL_MASK is ignored when decoding

lvqcl lvqcl.mail at gmail.com
Fri Apr 25 14:35:45 PDT 2014


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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mask.patch
Type: application/octet-stream
Size: 596 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20140426/56e4bbdc/attachment.obj 


More information about the flac-dev mailing list