Porting from FLAC 1.1.4 to 1.2.0
Porting Guide for New Versions

This module describes porting from FLAC 1.1.4 to FLAC 1.2.0.

There were only very minor changes to the interfaces from 1.1.4 to 1.2.0. In libFLAC, `FLAC__format_sample_rate_is_subset()` was added. In libFLAC++, `FLAC::Decoder::Stream::get_decode_position()` was added.

Finally, value of the constant `FLAC__FRAME_HEADER_RESERVED_LEN` has changed to reflect the conversion of one of the reserved bits into active use. It used to be `2` and now is `1`. However the FLAC frame header length has not changed, so to skip the proper number of bits, use `FLAC__FRAME_HEADER_RESERVED_LEN` + `FLAC__FRAME_HEADER_BLOCKING_STRATEGY_LEN`

Copyright (c) 2000-2009 Josh Coalson Copyright (c) 2011-2025 Xiph.Org Foundation