This module provides classes for creating and manipulating FLAC metadata blocks in memory, and three progressively more powerful interfaces for traversing and editing metadata in FLAC files.
This module provides classes for creating and manipulating FLAC metadata blocks in memory, and three progressively more powerful interfaces for traversing and editing metadata in FLAC files.
<p>
See the detailed documentation for each interface in the <aclass="el"href="group__flacpp__metadata.html">metadata </a> module.
See the detailed documentation for each interface in the <aclass="el"href="group__flacpp__metadata.html">metadata </a> module.
<aname="l00149"></a><aclass="code"href="group__flac__callbacks.html#ga5">00149</a><spanclass="keyword">typedef</span> int (*<aclass="code"href="group__flac__callbacks.html#ga5">FLAC__IOCallback_Eof</a>) (FLAC__IOHandle handle);
00150
00150
<aname="l00159"></a><aclass="code"href="group__flac__callbacks.html#ga6">00159</a><spanclass="keyword">typedef</span> int (*<aclass="code"href="group__flac__callbacks.html#ga6">FLAC__IOCallback_Close</a>) (FLAC__IOHandle handle);
<ahref="classFLAC_1_1Decoder_1_1File-members.html">List of all members.</a><hr><aname="_details"></a><h2>Detailed Description</h2>
This class wraps the <aclass="el"href="structFLAC____StreamDecoder.html">FLAC__StreamDecoder</a>. If you are not decoding from a file, you may need to use <aclass="el"href="classFLAC_1_1Decoder_1_1Stream.html">FLAC::Decoder::Stream</a>.
This class wraps the <aclass="el"href="structFLAC____StreamDecoder.html">FLAC__StreamDecoder</a>. If you are not decoding from a file, you may need to use <aclass="el"href="classFLAC_1_1Decoder_1_1Stream.html">FLAC::Decoder::Stream</a>.
<p>
The usage of this class is similar to <aclass="el"href="structFLAC____StreamDecoder.html">FLAC__StreamDecoder</a>, except instead of providing callbacks to FLAC__stream_decoder_init*_FILE() or FLAC__stream_decoder_init*_file(), you will inherit from this class and override the virtual callback functions with your own implementations, then call <aclass="el"href="classFLAC_1_1Decoder_1_1Stream.html#FLAC_1_1Decoder_1_1Streama21">init()</a> or init_off(). The rest of the calls work the same as in the C layer.<p>
Only the write, and error callbacks from <aclass="el"href="classFLAC_1_1Decoder_1_1Stream.html">FLAC::Decoder::Stream</a> are mandatory. The others are optional; this class provides full working implementations for all other callbacks and supports seeking.
Only the write, and error callbacks from <aclass="el"href="classFLAC_1_1Decoder_1_1Stream.html">FLAC::Decoder::Stream</a> are mandatory. The others are optional; this class provides full working implementations for all other callbacks and supports seeking.