1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>FLAC/seekable_stream_encoder.h: seekable stream encoder interface</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
<!-- Generated by Doxygen 1.2.14 -->
8
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
9
<hr><h1>FLAC/seekable_stream_encoder.h: seekable stream encoder interface<br>
11
[<a class="el" href="group__flac__encoder.html">FLAC/_encoder.h: encoder interfaces</a>]</small>
12
</h1>This module contains the functions which implement the seekable stream encoder.
13
<a href="#_details">More...</a><table border=0 cellpadding=0 cellspacing=0>
14
<tr><td colspan=2><br><h2>Compounds</h2></td></tr>
15
<tr><td nowrap align=right valign=top>struct </td><td valign=bottom><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a></td></tr>
16
<tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
17
<tr><td nowrap align=right valign=top>typedef <a class="el" href="group__flac__seekable__stream__encoder.html#a54">FLAC__SeekableStreamEncoderSeekStatus</a>(* </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a2">FLAC__SeekableStreamEncoderSeekCallback</a> )(const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, FLAC__uint64 absolute_byte_offset, void *client_data)</td></tr>
18
<tr><td nowrap align=right valign=top>typedef <a class="el" href="group__flac__stream__encoder.html#a53">FLAC__StreamEncoderWriteStatus</a>(* </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a3">FLAC__SeekableStreamEncoderWriteCallback</a> )(const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, const FLAC__byte buffer[], unsigned bytes, unsigned samples, unsigned current_frame, void *client_data)</td></tr>
19
<tr><td colspan=2><br><h2>Enumerations</h2></td></tr>
20
<tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a53">FLAC__SeekableStreamEncoderState</a> { <br>
21
<a class="el" href="group__flac__seekable__stream__encoder.html#a53a4">FLAC__SEEKABLE_STREAM_ENCODER_OK</a> = 0,
22
<a class="el" href="group__flac__seekable__stream__encoder.html#a53a5">FLAC__SEEKABLE_STREAM_ENCODER_STREAM_ENCODER_ERROR</a>,
23
<a class="el" href="group__flac__seekable__stream__encoder.html#a53a6">FLAC__SEEKABLE_STREAM_ENCODER_MEMORY_ALLOCATION_ERROR</a>,
24
<a class="el" href="group__flac__seekable__stream__encoder.html#a53a7">FLAC__SEEKABLE_STREAM_ENCODER_WRITE_ERROR</a>,
26
<a class="el" href="group__flac__seekable__stream__encoder.html#a53a8">FLAC__SEEKABLE_STREAM_ENCODER_READ_ERROR</a>,
27
<a class="el" href="group__flac__seekable__stream__encoder.html#a53a9">FLAC__SEEKABLE_STREAM_ENCODER_SEEK_ERROR</a>,
28
<a class="el" href="group__flac__seekable__stream__encoder.html#a53a10">FLAC__SEEKABLE_STREAM_ENCODER_ALREADY_INITIALIZED</a>,
29
<a class="el" href="group__flac__seekable__stream__encoder.html#a53a11">FLAC__SEEKABLE_STREAM_ENCODER_INVALID_CALLBACK</a>,
31
<a class="el" href="group__flac__seekable__stream__encoder.html#a53a12">FLAC__SEEKABLE_STREAM_ENCODER_INVALID_SEEKTABLE</a>,
32
<a class="el" href="group__flac__seekable__stream__encoder.html#a53a13">FLAC__SEEKABLE_STREAM_ENCODER_UNINITIALIZED</a>
35
<tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a54">FLAC__SeekableStreamEncoderSeekStatus</a> { <a class="el" href="group__flac__seekable__stream__encoder.html#a54a14">FLAC__SEEKABLE_STREAM_ENCODER_SEEK_STATUS_OK</a>,
36
<a class="el" href="group__flac__seekable__stream__encoder.html#a54a15">FLAC__SEEKABLE_STREAM_ENCODER_SEEK_STATUS_ERROR</a>
38
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
39
<tr><td nowrap align=right valign=top><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a4">FLAC__seekable_stream_encoder_new</a> ()</td></tr>
40
<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a5">FLAC__seekable_stream_encoder_delete</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
41
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a6">FLAC__seekable_stream_encoder_set_verify</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, FLAC__bool value)</td></tr>
42
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a7">FLAC__seekable_stream_encoder_set_streamable_subset</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, FLAC__bool value)</td></tr>
43
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a8">FLAC__seekable_stream_encoder_set_do_mid_side_stereo</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, FLAC__bool value)</td></tr>
44
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a9">FLAC__seekable_stream_encoder_set_loose_mid_side_stereo</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, FLAC__bool value)</td></tr>
45
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a10">FLAC__seekable_stream_encoder_set_channels</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, unsigned value)</td></tr>
46
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a11">FLAC__seekable_stream_encoder_set_bits_per_sample</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, unsigned value)</td></tr>
47
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a12">FLAC__seekable_stream_encoder_set_sample_rate</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, unsigned value)</td></tr>
48
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a13">FLAC__seekable_stream_encoder_set_blocksize</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, unsigned value)</td></tr>
49
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a14">FLAC__seekable_stream_encoder_set_max_lpc_order</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, unsigned value)</td></tr>
50
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a15">FLAC__seekable_stream_encoder_set_qlp_coeff_precision</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, unsigned value)</td></tr>
51
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a16">FLAC__seekable_stream_encoder_set_do_qlp_coeff_prec_search</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, FLAC__bool value)</td></tr>
52
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a17">FLAC__seekable_stream_encoder_set_do_escape_coding</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, FLAC__bool value)</td></tr>
53
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a18">FLAC__seekable_stream_encoder_set_do_exhaustive_model_search</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, FLAC__bool value)</td></tr>
54
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a19">FLAC__seekable_stream_encoder_set_min_residual_partition_order</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, unsigned value)</td></tr>
55
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a20">FLAC__seekable_stream_encoder_set_max_residual_partition_order</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, unsigned value)</td></tr>
56
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a21">FLAC__seekable_stream_encoder_set_rice_parameter_search_dist</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, unsigned value)</td></tr>
57
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a22">FLAC__seekable_stream_encoder_set_total_samples_estimate</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, FLAC__uint64 value)</td></tr>
58
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a23">FLAC__seekable_stream_encoder_set_metadata</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, <a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> **metadata, unsigned num_blocks)</td></tr>
59
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a24">FLAC__seekable_stream_encoder_set_seek_callback</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, <a class="el" href="group__flac__seekable__stream__encoder.html#a2">FLAC__SeekableStreamEncoderSeekCallback</a> value)</td></tr>
60
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a25">FLAC__seekable_stream_encoder_set_write_callback</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, <a class="el" href="group__flac__seekable__stream__encoder.html#a3">FLAC__SeekableStreamEncoderWriteCallback</a> value)</td></tr>
61
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a26">FLAC__seekable_stream_encoder_set_client_data</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, void *value)</td></tr>
62
<tr><td nowrap align=right valign=top><a class="el" href="group__flac__seekable__stream__encoder.html#a53">FLAC__SeekableStreamEncoderState</a> </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a27">FLAC__seekable_stream_encoder_get_state</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
63
<tr><td nowrap align=right valign=top><a class="el" href="group__flac__stream__encoder.html#a52">FLAC__StreamEncoderState</a> </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a28">FLAC__seekable_stream_encoder_get_stream_encoder_state</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
64
<tr><td nowrap align=right valign=top><a class="el" href="group__flac__stream__decoder.html#a34">FLAC__StreamDecoderState</a> </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a29">FLAC__seekable_stream_encoder_get_verify_decoder_state</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
65
<tr><td nowrap align=right valign=top>const char * </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a30">FLAC__seekable_stream_encoder_get_resolved_state_string</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
66
<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a31">FLAC__seekable_stream_encoder_get_verify_decoder_error_stats</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, FLAC__uint64 *absolute_sample, unsigned *frame_number, unsigned *channel, unsigned *sample, FLAC__int32 *expected, FLAC__int32 *got)</td></tr>
67
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a32">FLAC__seekable_stream_encoder_get_verify</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
68
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a33">FLAC__seekable_stream_encoder_get_streamable_subset</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
69
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a34">FLAC__seekable_stream_encoder_get_do_mid_side_stereo</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
70
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a35">FLAC__seekable_stream_encoder_get_loose_mid_side_stereo</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
71
<tr><td nowrap align=right valign=top>unsigned </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a36">FLAC__seekable_stream_encoder_get_channels</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
72
<tr><td nowrap align=right valign=top>unsigned </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a37">FLAC__seekable_stream_encoder_get_bits_per_sample</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
73
<tr><td nowrap align=right valign=top>unsigned </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a38">FLAC__seekable_stream_encoder_get_sample_rate</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
74
<tr><td nowrap align=right valign=top>unsigned </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a39">FLAC__seekable_stream_encoder_get_blocksize</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
75
<tr><td nowrap align=right valign=top>unsigned </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a40">FLAC__seekable_stream_encoder_get_max_lpc_order</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
76
<tr><td nowrap align=right valign=top>unsigned </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a41">FLAC__seekable_stream_encoder_get_qlp_coeff_precision</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
77
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a42">FLAC__seekable_stream_encoder_get_do_qlp_coeff_prec_search</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
78
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a43">FLAC__seekable_stream_encoder_get_do_escape_coding</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
79
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a44">FLAC__seekable_stream_encoder_get_do_exhaustive_model_search</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
80
<tr><td nowrap align=right valign=top>unsigned </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a45">FLAC__seekable_stream_encoder_get_min_residual_partition_order</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
81
<tr><td nowrap align=right valign=top>unsigned </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a46">FLAC__seekable_stream_encoder_get_max_residual_partition_order</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
82
<tr><td nowrap align=right valign=top>unsigned </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a47">FLAC__seekable_stream_encoder_get_rice_parameter_search_dist</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
83
<tr><td nowrap align=right valign=top>FLAC__uint64 </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a48">FLAC__seekable_stream_encoder_get_total_samples_estimate</a> (const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
84
<tr><td nowrap align=right valign=top><a class="el" href="group__flac__seekable__stream__encoder.html#a53">FLAC__SeekableStreamEncoderState</a> </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a49">FLAC__seekable_stream_encoder_init</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
85
<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a50">FLAC__seekable_stream_encoder_finish</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder)</td></tr>
86
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a51">FLAC__seekable_stream_encoder_process</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, const FLAC__int32 *const buffer[], unsigned samples)</td></tr>
87
<tr><td nowrap align=right valign=top>FLAC__bool </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a52">FLAC__seekable_stream_encoder_process_interleaved</a> (<a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, const FLAC__int32 buffer[], unsigned samples)</td></tr>
88
<tr><td colspan=2><br><h2>Variables</h2></td></tr>
89
<tr><td nowrap align=right valign=top>const char *const </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a0">FLAC__SeekableStreamEncoderStateString</a> []</td></tr>
90
<tr><td nowrap align=right valign=top>const char *const </td><td valign=bottom><a class="el" href="group__flac__seekable__stream__encoder.html#a1">FLAC__SeekableStreamEncoderSeekStatusString</a> []</td></tr>
92
<hr><a name="_details"></a><h2>Detailed Description</h2>
93
This module contains the functions which implement the seekable stream encoder.
97
The basic usage of this encoder is as follows:<ul>
98
<li>The program creates an instance of an encoder using <a class="el" href="group__flac__seekable__stream__encoder.html#a4">FLAC__seekable_stream_encoder_new</a>().<li>The program overrides the default settings and sets callbacks using FLAC__seekable_stream_encoder_set_*() functions.<li>The program initializes the instance to validate the settings and prepare for encoding using <a class="el" href="group__flac__seekable__stream__encoder.html#a49">FLAC__seekable_stream_encoder_init</a>().<li>The program calls <a class="el" href="group__flac__seekable__stream__encoder.html#a51">FLAC__seekable_stream_encoder_process</a>() or <a class="el" href="group__flac__seekable__stream__encoder.html#a52">FLAC__seekable_stream_encoder_process_interleaved</a>() to encode data, which subsequently calls the callbacks when there is encoder data ready to be written.<li>The program finishes the encoding with <a class="el" href="group__flac__seekable__stream__encoder.html#a50">FLAC__seekable_stream_encoder_finish</a>(), which causes the encoder to encode any data still in its input pipe, rewrite the metadata with the final encoding statistics, and finally reset the encoder to the uninitialized state.<li>The instance may be used again or deleted with <a class="el" href="group__flac__seekable__stream__encoder.html#a5">FLAC__seekable_stream_encoder_delete</a>().</ul>
99
The seekable stream encoder is a wrapper around the <a class="el" href="group__flac__stream__encoder.html">stream encoder</a> with callbacks for seeking the output. This allows the encoder to go back and rewrite some of the metadata after encoding if necessary, and provides the metadata callback of the stream encoder internally. However, you must provide a seek callback (see <a class="el" href="group__flac__seekable__stream__encoder.html#a24">FLAC__seekable_stream_encoder_set_seek_callback</a>()).
101
Make sure to read the detailed description of the <a class="el" href="group__flac__stream__encoder.html">stream encoder module</a> since the seekable stream encoder inherits much of its behavior.
105
If you are writing the FLAC data to a file, make sure it is open for update (e.g. mode "w+" for stdio streams). This is because after the first encoding pass, the encoder will try to seek back to the beginning of the stream, to the STREAMINFO block, to write some data there.</dl><dl compact><dt><b>
107
The "set" functions may only be called when the encoder is in the state FLAC__SEEKABLE_STREAM_ENCODER_UNINITIALIZED, i.e. after <a class="el" href="group__flac__seekable__stream__encoder.html#a4">FLAC__seekable_stream_encoder_new</a>() or <a class="el" href="group__flac__seekable__stream__encoder.html#a50">FLAC__seekable_stream_encoder_finish</a>(), but before <a class="el" href="group__flac__seekable__stream__encoder.html#a49">FLAC__seekable_stream_encoder_init</a>(). If this is the case they will return <code>true</code>, otherwise <code>false</code>.</dl><dl compact><dt><b>
109
<a class="el" href="group__flac__seekable__stream__encoder.html#a50">FLAC__seekable_stream_encoder_finish</a>() resets all settings to the constructor defaults, including the callbacks. </dl><hr><h2>Typedef Documentation</h2>
110
<a name="a2" doxytag="seekable_stream_encoder.h::FLAC__SeekableStreamEncoderSeekCallback"></a><p>
111
<table width="100%" cellpadding="2" cellspacing="0" border="0">
114
<table cellpadding="0" cellspacing="0" border="0">
116
<td class="md" nowrap valign="top"> typedef <a class="el" href="group__flac__seekable__stream__encoder.html#a54">FLAC__SeekableStreamEncoderSeekStatus</a>(* FLAC__SeekableStreamEncoderSeekCallback)(const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, FLAC__uint64 absolute_byte_offset, void *client_data)
121
<table cellspacing=5 cellpadding=0 border=0>
129
Signature for the seek callback. See <a class="el" href="group__flac__seekable__stream__encoder.html#a24">FLAC__seekable_stream_encoder_set_seek_callback</a>() for more info.<dl compact><dt><b>
131
<table border=0 cellspacing=2 cellpadding=0>
132
<tr><td valign=top><em>encoder</em> </td><td>
133
The encoder instance calling the callback. </td></tr>
134
<tr><td valign=top><em>absolute_byte_offset</em> </td><td>
135
The offset from the beginning of the stream to seek to. </td></tr>
136
<tr><td valign=top><em>client_data</em> </td><td>
137
The callee's client data set through <a class="el" href="group__flac__seekable__stream__encoder.html#a26">FLAC__seekable_stream_encoder_set_client_data</a>(). </td></tr>
139
</dl><dl compact><dt><b>
140
Return values: </b><dd>
141
<table border=0 cellspacing=2 cellpadding=0>
142
<tr><td valign=top><em>FLAC__SeekableStreamEncoderSeekStatus</em> </td><td>
143
The callee's return status. </td></tr>
148
<a name="a3" doxytag="seekable_stream_encoder.h::FLAC__SeekableStreamEncoderWriteCallback"></a><p>
149
<table width="100%" cellpadding="2" cellspacing="0" border="0">
152
<table cellpadding="0" cellspacing="0" border="0">
154
<td class="md" nowrap valign="top"> typedef <a class="el" href="group__flac__stream__encoder.html#a53">FLAC__StreamEncoderWriteStatus</a>(* FLAC__SeekableStreamEncoderWriteCallback)(const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> *encoder, const FLAC__byte buffer[], unsigned bytes, unsigned samples, unsigned current_frame, void *client_data)
159
<table cellspacing=5 cellpadding=0 border=0>
167
Signature for the write callback. See <a class="el" href="group__flac__seekable__stream__encoder.html#a25">FLAC__seekable_stream_encoder_set_write_callback</a>() and FLAC__StreamEncoderWriteCallback for more info.<dl compact><dt><b>
169
<table border=0 cellspacing=2 cellpadding=0>
170
<tr><td valign=top><em>encoder</em> </td><td>
171
The encoder instance calling the callback. </td></tr>
172
<tr><td valign=top><em>buffer</em> </td><td>
173
An array of encoded data of length <em>bytes</em>. </td></tr>
174
<tr><td valign=top><em>bytes</em> </td><td>
175
The byte length of <em>buffer</em>. </td></tr>
176
<tr><td valign=top><em>samples</em> </td><td>
177
The number of samples encoded by <em>buffer</em>. <code>0</code> has a special meaning; see <a class="el" href="group__flac__stream__encoder.html#a24">FLAC__stream_encoder_set_write_callback</a>(). </td></tr>
178
<tr><td valign=top><em>current_frame</em> </td><td>
179
The number of current frame being encoded. </td></tr>
180
<tr><td valign=top><em>client_data</em> </td><td>
181
The callee's client data set through <a class="el" href="group__flac__seekable__stream__encoder.html#a26">FLAC__seekable_stream_encoder_set_client_data</a>(). </td></tr>
183
</dl><dl compact><dt><b>
184
Return values: </b><dd>
185
<table border=0 cellspacing=2 cellpadding=0>
186
<tr><td valign=top><em>FLAC__StreamEncoderWriteStatus</em> </td><td>
187
The callee's return status. </td></tr>
192
<hr><h2>Enumeration Type Documentation</h2>
193
<a name="a53" doxytag="seekable_stream_encoder.h::FLAC__SeekableStreamEncoderState"></a><p>
194
<table width="100%" cellpadding="2" cellspacing="0" border="0">
197
<table cellpadding="0" cellspacing="0" border="0">
199
<td class="md" nowrap valign="top"> enum FLAC__SeekableStreamEncoderState
204
<table cellspacing=5 cellpadding=0 border=0>
212
State values for a <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a>
214
The encoder's state can be obtained by calling <a class="el" href="group__flac__seekable__stream__encoder.html#a27">FLAC__seekable_stream_encoder_get_state</a>(). <dl compact><dt><b>
215
Enumeration values:</b><dd>
216
<table border=0 cellspacing=2 cellpadding=0>
217
<tr><td valign=top><em><a name="a53a4" doxytag="FLAC__SEEKABLE_STREAM_ENCODER_OK"></a><em>FLAC__SEEKABLE_STREAM_ENCODER_OK</em></em> </td><td>
218
The encoder is in the normal OK state. </td></tr>
219
<tr><td valign=top><em><a name="a53a5" doxytag="FLAC__SEEKABLE_STREAM_ENCODER_STREAM_ENCODER_ERROR"></a><em>FLAC__SEEKABLE_STREAM_ENCODER_STREAM_ENCODER_ERROR</em></em> </td><td>
220
An error occurred in the underlying stream encoder; check <a class="el" href="group__flac__seekable__stream__encoder.html#a28">FLAC__seekable_stream_encoder_get_stream_encoder_state</a>(). </td></tr>
221
<tr><td valign=top><em><a name="a53a6" doxytag="FLAC__SEEKABLE_STREAM_ENCODER_MEMORY_ALLOCATION_ERROR"></a><em>FLAC__SEEKABLE_STREAM_ENCODER_MEMORY_ALLOCATION_ERROR</em></em> </td><td>
222
Memory allocation failed. </td></tr>
223
<tr><td valign=top><em><a name="a53a7" doxytag="FLAC__SEEKABLE_STREAM_ENCODER_WRITE_ERROR"></a><em>FLAC__SEEKABLE_STREAM_ENCODER_WRITE_ERROR</em></em> </td><td>
224
The write callback returned an error. </td></tr>
225
<tr><td valign=top><em><a name="a53a8" doxytag="FLAC__SEEKABLE_STREAM_ENCODER_READ_ERROR"></a><em>FLAC__SEEKABLE_STREAM_ENCODER_READ_ERROR</em></em> </td><td>
226
The read callback returned an error. </td></tr>
227
<tr><td valign=top><em><a name="a53a9" doxytag="FLAC__SEEKABLE_STREAM_ENCODER_SEEK_ERROR"></a><em>FLAC__SEEKABLE_STREAM_ENCODER_SEEK_ERROR</em></em> </td><td>
228
The seek callback returned an error. </td></tr>
229
<tr><td valign=top><em><a name="a53a10" doxytag="FLAC__SEEKABLE_STREAM_ENCODER_ALREADY_INITIALIZED"></a><em>FLAC__SEEKABLE_STREAM_ENCODER_ALREADY_INITIALIZED</em></em> </td><td>
230
<a class="el" href="group__flac__seekable__stream__encoder.html#a49">FLAC__seekable_stream_encoder_init</a>() was called when the encoder was already initialized, usually because <a class="el" href="group__flac__seekable__stream__encoder.html#a50">FLAC__seekable_stream_encoder_finish</a>() was not called. </td></tr>
231
<tr><td valign=top><em><a name="a53a11" doxytag="FLAC__SEEKABLE_STREAM_ENCODER_INVALID_CALLBACK"></a><em>FLAC__SEEKABLE_STREAM_ENCODER_INVALID_CALLBACK</em></em> </td><td>
232
<a class="el" href="group__flac__seekable__stream__encoder.html#a49">FLAC__seekable_stream_encoder_init</a>() was called without all callbacks being set. </td></tr>
233
<tr><td valign=top><em><a name="a53a12" doxytag="FLAC__SEEKABLE_STREAM_ENCODER_INVALID_SEEKTABLE"></a><em>FLAC__SEEKABLE_STREAM_ENCODER_INVALID_SEEKTABLE</em></em> </td><td>
234
An invalid seek table was passed is the metadata to <a class="el" href="group__flac__seekable__stream__encoder.html#a23">FLAC__seekable_stream_encoder_set_metadata</a>(). </td></tr>
235
<tr><td valign=top><em><a name="a53a13" doxytag="FLAC__SEEKABLE_STREAM_ENCODER_UNINITIALIZED"></a><em>FLAC__SEEKABLE_STREAM_ENCODER_UNINITIALIZED</em></em> </td><td>
236
The encoder is in the uninitialized state. </td></tr>
242
<a name="a54" doxytag="seekable_stream_encoder.h::FLAC__SeekableStreamEncoderSeekStatus"></a><p>
243
<table width="100%" cellpadding="2" cellspacing="0" border="0">
246
<table cellpadding="0" cellspacing="0" border="0">
248
<td class="md" nowrap valign="top"> enum FLAC__SeekableStreamEncoderSeekStatus
253
<table cellspacing=5 cellpadding=0 border=0>
261
Return values for the <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> seek callback. <dl compact><dt><b>
262
Enumeration values:</b><dd>
263
<table border=0 cellspacing=2 cellpadding=0>
264
<tr><td valign=top><em><a name="a54a14" doxytag="FLAC__SEEKABLE_STREAM_ENCODER_SEEK_STATUS_OK"></a><em>FLAC__SEEKABLE_STREAM_ENCODER_SEEK_STATUS_OK</em></em> </td><td>
265
The seek was OK and encoding can continue. </td></tr>
266
<tr><td valign=top><em><a name="a54a15" doxytag="FLAC__SEEKABLE_STREAM_ENCODER_SEEK_STATUS_ERROR"></a><em>FLAC__SEEKABLE_STREAM_ENCODER_SEEK_STATUS_ERROR</em></em> </td><td>
267
An unrecoverable error occurred. The encoder will return from the process call. </td></tr>
273
<hr><h2>Function Documentation</h2>
274
<a name="a4" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_new"></a><p>
275
<table width="100%" cellpadding="2" cellspacing="0" border="0">
278
<table cellpadding="0" cellspacing="0" border="0">
280
<td class="md" nowrap valign="top"> <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a>* FLAC__seekable_stream_encoder_new </td>
281
<td class="md" valign="top">( </td>
282
<td class="mdname1" valign="top" nowrap> </td>
283
<td class="md" valign="top">) </td>
284
<td class="md" nowrap></td>
291
<table cellspacing=5 cellpadding=0 border=0>
299
Create a new seekable stream encoder instance. The instance is created with default settings; see the individual FLAC__seekable_stream_encoder_set_*() functions for each setting's default.<dl compact><dt><b>
300
Return values: </b><dd>
301
<table border=0 cellspacing=2 cellpadding=0>
302
<tr><td valign=top><em><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a></em> </td><td>
303
* <code>NULL</code> if there was an error allocating memory, else the new instance. </td></tr>
308
<a name="a5" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_delete"></a><p>
309
<table width="100%" cellpadding="2" cellspacing="0" border="0">
312
<table cellpadding="0" cellspacing="0" border="0">
314
<td class="md" nowrap valign="top"> void FLAC__seekable_stream_encoder_delete </td>
315
<td class="md" valign="top">( </td>
316
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
317
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
318
<td class="md" valign="top">) </td>
319
<td class="md" nowrap></td>
326
<table cellspacing=5 cellpadding=0 border=0>
334
Free an encoder instance. Deletes the object pointed to by <em>encoder</em>.<dl compact><dt><b>
336
<table border=0 cellspacing=2 cellpadding=0>
337
<tr><td valign=top><em>encoder</em> </td><td>
338
A pointer to an existing encoder. </td></tr>
340
</dl><dl compact><dt><b>
342
<div class="fragment"><pre>encoder != NULL
343
</pre></div> </dl> </td>
346
<a name="a6" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_verify"></a><p>
347
<table width="100%" cellpadding="2" cellspacing="0" border="0">
350
<table cellpadding="0" cellspacing="0" border="0">
352
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_verify </td>
353
<td class="md" valign="top">( </td>
354
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
355
<td class="mdname" nowrap> <em>encoder</em>, </td>
360
<td class="md" nowrap>FLAC__bool </td>
361
<td class="mdname" nowrap> <em>value</em></td>
365
<td class="md">) </td>
366
<td class="md" colspan="2"></td>
373
<table cellspacing=5 cellpadding=0 border=0>
381
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a6">FLAC__stream_encoder_set_verify</a>().<dl compact><dt><b>
382
Default Value:</b><dd>
383
<code>true</code> </dl><dl compact><dt><b>
385
<table border=0 cellspacing=2 cellpadding=0>
386
<tr><td valign=top><em>encoder</em> </td><td>
387
An encoder instance to set. </td></tr>
388
<tr><td valign=top><em>value</em> </td><td>
389
See above. </td></tr>
391
</dl><dl compact><dt><b>
393
<div class="fragment"><pre>encoder != NULL
394
</pre></div> </dl><dl compact><dt><b>
395
Return values: </b><dd>
396
<table border=0 cellspacing=2 cellpadding=0>
397
<tr><td valign=top><em>FLAC__bool</em> </td><td>
398
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
403
<a name="a7" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_streamable_subset"></a><p>
404
<table width="100%" cellpadding="2" cellspacing="0" border="0">
407
<table cellpadding="0" cellspacing="0" border="0">
409
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_streamable_subset </td>
410
<td class="md" valign="top">( </td>
411
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
412
<td class="mdname" nowrap> <em>encoder</em>, </td>
417
<td class="md" nowrap>FLAC__bool </td>
418
<td class="mdname" nowrap> <em>value</em></td>
422
<td class="md">) </td>
423
<td class="md" colspan="2"></td>
430
<table cellspacing=5 cellpadding=0 border=0>
438
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a7">FLAC__stream_encoder_set_streamable_subset</a>().<dl compact><dt><b>
439
Default Value:</b><dd>
440
<code>true</code> </dl><dl compact><dt><b>
442
<table border=0 cellspacing=2 cellpadding=0>
443
<tr><td valign=top><em>encoder</em> </td><td>
444
An encoder instance to set. </td></tr>
445
<tr><td valign=top><em>value</em> </td><td>
446
See above. </td></tr>
448
</dl><dl compact><dt><b>
450
<div class="fragment"><pre>encoder != NULL
451
</pre></div> </dl><dl compact><dt><b>
452
Return values: </b><dd>
453
<table border=0 cellspacing=2 cellpadding=0>
454
<tr><td valign=top><em>FLAC__bool</em> </td><td>
455
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
460
<a name="a8" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_do_mid_side_stereo"></a><p>
461
<table width="100%" cellpadding="2" cellspacing="0" border="0">
464
<table cellpadding="0" cellspacing="0" border="0">
466
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_do_mid_side_stereo </td>
467
<td class="md" valign="top">( </td>
468
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
469
<td class="mdname" nowrap> <em>encoder</em>, </td>
474
<td class="md" nowrap>FLAC__bool </td>
475
<td class="mdname" nowrap> <em>value</em></td>
479
<td class="md">) </td>
480
<td class="md" colspan="2"></td>
487
<table cellspacing=5 cellpadding=0 border=0>
495
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a8">FLAC__stream_encoder_set_do_mid_side_stereo</a>().<dl compact><dt><b>
496
Default Value:</b><dd>
497
<code>false</code> </dl><dl compact><dt><b>
499
<table border=0 cellspacing=2 cellpadding=0>
500
<tr><td valign=top><em>encoder</em> </td><td>
501
An encoder instance to set. </td></tr>
502
<tr><td valign=top><em>value</em> </td><td>
503
See above. </td></tr>
505
</dl><dl compact><dt><b>
507
<div class="fragment"><pre>encoder != NULL
508
</pre></div> </dl><dl compact><dt><b>
509
Return values: </b><dd>
510
<table border=0 cellspacing=2 cellpadding=0>
511
<tr><td valign=top><em>FLAC__bool</em> </td><td>
512
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
517
<a name="a9" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_loose_mid_side_stereo"></a><p>
518
<table width="100%" cellpadding="2" cellspacing="0" border="0">
521
<table cellpadding="0" cellspacing="0" border="0">
523
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_loose_mid_side_stereo </td>
524
<td class="md" valign="top">( </td>
525
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
526
<td class="mdname" nowrap> <em>encoder</em>, </td>
531
<td class="md" nowrap>FLAC__bool </td>
532
<td class="mdname" nowrap> <em>value</em></td>
536
<td class="md">) </td>
537
<td class="md" colspan="2"></td>
544
<table cellspacing=5 cellpadding=0 border=0>
552
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a9">FLAC__stream_encoder_set_loose_mid_side_stereo</a>().<dl compact><dt><b>
553
Default Value:</b><dd>
554
<code>false</code> </dl><dl compact><dt><b>
556
<table border=0 cellspacing=2 cellpadding=0>
557
<tr><td valign=top><em>encoder</em> </td><td>
558
An encoder instance to set. </td></tr>
559
<tr><td valign=top><em>value</em> </td><td>
560
See above. </td></tr>
562
</dl><dl compact><dt><b>
564
<div class="fragment"><pre>encoder != NULL
565
</pre></div> </dl><dl compact><dt><b>
566
Return values: </b><dd>
567
<table border=0 cellspacing=2 cellpadding=0>
568
<tr><td valign=top><em>FLAC__bool</em> </td><td>
569
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
574
<a name="a10" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_channels"></a><p>
575
<table width="100%" cellpadding="2" cellspacing="0" border="0">
578
<table cellpadding="0" cellspacing="0" border="0">
580
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_channels </td>
581
<td class="md" valign="top">( </td>
582
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
583
<td class="mdname" nowrap> <em>encoder</em>, </td>
588
<td class="md" nowrap>unsigned </td>
589
<td class="mdname" nowrap> <em>value</em></td>
593
<td class="md">) </td>
594
<td class="md" colspan="2"></td>
601
<table cellspacing=5 cellpadding=0 border=0>
609
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a10">FLAC__stream_encoder_set_channels</a>().<dl compact><dt><b>
610
Default Value:</b><dd>
611
<code>2</code> </dl><dl compact><dt><b>
613
<table border=0 cellspacing=2 cellpadding=0>
614
<tr><td valign=top><em>encoder</em> </td><td>
615
An encoder instance to set. </td></tr>
616
<tr><td valign=top><em>value</em> </td><td>
617
See above. </td></tr>
619
</dl><dl compact><dt><b>
621
<div class="fragment"><pre>encoder != NULL
622
</pre></div> </dl><dl compact><dt><b>
623
Return values: </b><dd>
624
<table border=0 cellspacing=2 cellpadding=0>
625
<tr><td valign=top><em>FLAC__bool</em> </td><td>
626
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
631
<a name="a11" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_bits_per_sample"></a><p>
632
<table width="100%" cellpadding="2" cellspacing="0" border="0">
635
<table cellpadding="0" cellspacing="0" border="0">
637
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_bits_per_sample </td>
638
<td class="md" valign="top">( </td>
639
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
640
<td class="mdname" nowrap> <em>encoder</em>, </td>
645
<td class="md" nowrap>unsigned </td>
646
<td class="mdname" nowrap> <em>value</em></td>
650
<td class="md">) </td>
651
<td class="md" colspan="2"></td>
658
<table cellspacing=5 cellpadding=0 border=0>
666
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a11">FLAC__stream_encoder_set_bits_per_sample</a>().
670
Do not feed the encoder data that is wider than the value you set here or you will generate an invalid stream.</dl><dl compact><dt><b>
671
Default Value:</b><dd>
672
<code>16</code> </dl><dl compact><dt><b>
674
<table border=0 cellspacing=2 cellpadding=0>
675
<tr><td valign=top><em>encoder</em> </td><td>
676
An encoder instance to set. </td></tr>
677
<tr><td valign=top><em>value</em> </td><td>
678
See above. </td></tr>
680
</dl><dl compact><dt><b>
682
<div class="fragment"><pre>encoder != NULL
683
</pre></div> </dl><dl compact><dt><b>
684
Return values: </b><dd>
685
<table border=0 cellspacing=2 cellpadding=0>
686
<tr><td valign=top><em>FLAC__bool</em> </td><td>
687
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
692
<a name="a12" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_sample_rate"></a><p>
693
<table width="100%" cellpadding="2" cellspacing="0" border="0">
696
<table cellpadding="0" cellspacing="0" border="0">
698
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_sample_rate </td>
699
<td class="md" valign="top">( </td>
700
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
701
<td class="mdname" nowrap> <em>encoder</em>, </td>
706
<td class="md" nowrap>unsigned </td>
707
<td class="mdname" nowrap> <em>value</em></td>
711
<td class="md">) </td>
712
<td class="md" colspan="2"></td>
719
<table cellspacing=5 cellpadding=0 border=0>
727
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a12">FLAC__stream_encoder_set_sample_rate</a>().<dl compact><dt><b>
728
Default Value:</b><dd>
729
<code>44100</code> </dl><dl compact><dt><b>
731
<table border=0 cellspacing=2 cellpadding=0>
732
<tr><td valign=top><em>encoder</em> </td><td>
733
An encoder instance to set. </td></tr>
734
<tr><td valign=top><em>value</em> </td><td>
735
See above. </td></tr>
737
</dl><dl compact><dt><b>
739
<div class="fragment"><pre>encoder != NULL
740
</pre></div> </dl><dl compact><dt><b>
741
Return values: </b><dd>
742
<table border=0 cellspacing=2 cellpadding=0>
743
<tr><td valign=top><em>FLAC__bool</em> </td><td>
744
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
749
<a name="a13" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_blocksize"></a><p>
750
<table width="100%" cellpadding="2" cellspacing="0" border="0">
753
<table cellpadding="0" cellspacing="0" border="0">
755
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_blocksize </td>
756
<td class="md" valign="top">( </td>
757
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
758
<td class="mdname" nowrap> <em>encoder</em>, </td>
763
<td class="md" nowrap>unsigned </td>
764
<td class="mdname" nowrap> <em>value</em></td>
768
<td class="md">) </td>
769
<td class="md" colspan="2"></td>
776
<table cellspacing=5 cellpadding=0 border=0>
784
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a13">FLAC__stream_encoder_set_blocksize</a>().<dl compact><dt><b>
785
Default Value:</b><dd>
786
<code>1152</code> </dl><dl compact><dt><b>
788
<table border=0 cellspacing=2 cellpadding=0>
789
<tr><td valign=top><em>encoder</em> </td><td>
790
An encoder instance to set. </td></tr>
791
<tr><td valign=top><em>value</em> </td><td>
792
See above. </td></tr>
794
</dl><dl compact><dt><b>
796
<div class="fragment"><pre>encoder != NULL
797
</pre></div> </dl><dl compact><dt><b>
798
Return values: </b><dd>
799
<table border=0 cellspacing=2 cellpadding=0>
800
<tr><td valign=top><em>FLAC__bool</em> </td><td>
801
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
806
<a name="a14" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_max_lpc_order"></a><p>
807
<table width="100%" cellpadding="2" cellspacing="0" border="0">
810
<table cellpadding="0" cellspacing="0" border="0">
812
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_max_lpc_order </td>
813
<td class="md" valign="top">( </td>
814
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
815
<td class="mdname" nowrap> <em>encoder</em>, </td>
820
<td class="md" nowrap>unsigned </td>
821
<td class="mdname" nowrap> <em>value</em></td>
825
<td class="md">) </td>
826
<td class="md" colspan="2"></td>
833
<table cellspacing=5 cellpadding=0 border=0>
841
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a14">FLAC__stream_encoder_set_max_lpc_order</a>().<dl compact><dt><b>
842
Default Value:</b><dd>
843
<code>0</code> </dl><dl compact><dt><b>
845
<table border=0 cellspacing=2 cellpadding=0>
846
<tr><td valign=top><em>encoder</em> </td><td>
847
An encoder instance to set. </td></tr>
848
<tr><td valign=top><em>value</em> </td><td>
849
See above. </td></tr>
851
</dl><dl compact><dt><b>
853
<div class="fragment"><pre>encoder != NULL
854
</pre></div> </dl><dl compact><dt><b>
855
Return values: </b><dd>
856
<table border=0 cellspacing=2 cellpadding=0>
857
<tr><td valign=top><em>FLAC__bool</em> </td><td>
858
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
863
<a name="a15" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_qlp_coeff_precision"></a><p>
864
<table width="100%" cellpadding="2" cellspacing="0" border="0">
867
<table cellpadding="0" cellspacing="0" border="0">
869
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_qlp_coeff_precision </td>
870
<td class="md" valign="top">( </td>
871
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
872
<td class="mdname" nowrap> <em>encoder</em>, </td>
877
<td class="md" nowrap>unsigned </td>
878
<td class="mdname" nowrap> <em>value</em></td>
882
<td class="md">) </td>
883
<td class="md" colspan="2"></td>
890
<table cellspacing=5 cellpadding=0 border=0>
898
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a15">FLAC__stream_encoder_set_qlp_coeff_precision</a>().
902
In the current implementation, qlp_coeff_precision + bits_per_sample must be less than 32.</dl><dl compact><dt><b>
903
Default Value:</b><dd>
904
<code>0</code> </dl><dl compact><dt><b>
906
<table border=0 cellspacing=2 cellpadding=0>
907
<tr><td valign=top><em>encoder</em> </td><td>
908
An encoder instance to set. </td></tr>
909
<tr><td valign=top><em>value</em> </td><td>
910
See above. </td></tr>
912
</dl><dl compact><dt><b>
914
<div class="fragment"><pre>encoder != NULL
915
</pre></div> </dl><dl compact><dt><b>
916
Return values: </b><dd>
917
<table border=0 cellspacing=2 cellpadding=0>
918
<tr><td valign=top><em>FLAC__bool</em> </td><td>
919
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
924
<a name="a16" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_do_qlp_coeff_prec_search"></a><p>
925
<table width="100%" cellpadding="2" cellspacing="0" border="0">
928
<table cellpadding="0" cellspacing="0" border="0">
930
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_do_qlp_coeff_prec_search </td>
931
<td class="md" valign="top">( </td>
932
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
933
<td class="mdname" nowrap> <em>encoder</em>, </td>
938
<td class="md" nowrap>FLAC__bool </td>
939
<td class="mdname" nowrap> <em>value</em></td>
943
<td class="md">) </td>
944
<td class="md" colspan="2"></td>
951
<table cellspacing=5 cellpadding=0 border=0>
959
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a16">FLAC__stream_encoder_set_do_qlp_coeff_prec_search</a>().<dl compact><dt><b>
960
Default Value:</b><dd>
961
<code>false</code> </dl><dl compact><dt><b>
963
<table border=0 cellspacing=2 cellpadding=0>
964
<tr><td valign=top><em>encoder</em> </td><td>
965
An encoder instance to set. </td></tr>
966
<tr><td valign=top><em>value</em> </td><td>
967
See above. </td></tr>
969
</dl><dl compact><dt><b>
971
<div class="fragment"><pre>encoder != NULL
972
</pre></div> </dl><dl compact><dt><b>
973
Return values: </b><dd>
974
<table border=0 cellspacing=2 cellpadding=0>
975
<tr><td valign=top><em>FLAC__bool</em> </td><td>
976
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
981
<a name="a17" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_do_escape_coding"></a><p>
982
<table width="100%" cellpadding="2" cellspacing="0" border="0">
985
<table cellpadding="0" cellspacing="0" border="0">
987
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_do_escape_coding </td>
988
<td class="md" valign="top">( </td>
989
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
990
<td class="mdname" nowrap> <em>encoder</em>, </td>
995
<td class="md" nowrap>FLAC__bool </td>
996
<td class="mdname" nowrap> <em>value</em></td>
1000
<td class="md">) </td>
1001
<td class="md" colspan="2"></td>
1008
<table cellspacing=5 cellpadding=0 border=0>
1016
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a17">FLAC__stream_encoder_set_do_escape_coding</a>().<dl compact><dt><b>
1017
Default Value:</b><dd>
1018
<code>false</code> </dl><dl compact><dt><b>
1019
Parameters: </b><dd>
1020
<table border=0 cellspacing=2 cellpadding=0>
1021
<tr><td valign=top><em>encoder</em> </td><td>
1022
An encoder instance to set. </td></tr>
1023
<tr><td valign=top><em>value</em> </td><td>
1024
See above. </td></tr>
1026
</dl><dl compact><dt><b>
1028
<div class="fragment"><pre>encoder != NULL
1029
</pre></div> </dl><dl compact><dt><b>
1030
Return values: </b><dd>
1031
<table border=0 cellspacing=2 cellpadding=0>
1032
<tr><td valign=top><em>FLAC__bool</em> </td><td>
1033
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
1038
<a name="a18" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_do_exhaustive_model_search"></a><p>
1039
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1042
<table cellpadding="0" cellspacing="0" border="0">
1044
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_do_exhaustive_model_search </td>
1045
<td class="md" valign="top">( </td>
1046
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1047
<td class="mdname" nowrap> <em>encoder</em>, </td>
1052
<td class="md" nowrap>FLAC__bool </td>
1053
<td class="mdname" nowrap> <em>value</em></td>
1057
<td class="md">) </td>
1058
<td class="md" colspan="2"></td>
1065
<table cellspacing=5 cellpadding=0 border=0>
1073
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a18">FLAC__stream_encoder_set_do_exhaustive_model_search</a>().<dl compact><dt><b>
1074
Default Value:</b><dd>
1075
<code>false</code> </dl><dl compact><dt><b>
1076
Parameters: </b><dd>
1077
<table border=0 cellspacing=2 cellpadding=0>
1078
<tr><td valign=top><em>encoder</em> </td><td>
1079
An encoder instance to set. </td></tr>
1080
<tr><td valign=top><em>value</em> </td><td>
1081
See above. </td></tr>
1083
</dl><dl compact><dt><b>
1085
<div class="fragment"><pre>encoder != NULL
1086
</pre></div> </dl><dl compact><dt><b>
1087
Return values: </b><dd>
1088
<table border=0 cellspacing=2 cellpadding=0>
1089
<tr><td valign=top><em>FLAC__bool</em> </td><td>
1090
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
1095
<a name="a19" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_min_residual_partition_order"></a><p>
1096
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1099
<table cellpadding="0" cellspacing="0" border="0">
1101
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_min_residual_partition_order </td>
1102
<td class="md" valign="top">( </td>
1103
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1104
<td class="mdname" nowrap> <em>encoder</em>, </td>
1109
<td class="md" nowrap>unsigned </td>
1110
<td class="mdname" nowrap> <em>value</em></td>
1114
<td class="md">) </td>
1115
<td class="md" colspan="2"></td>
1122
<table cellspacing=5 cellpadding=0 border=0>
1130
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a19">FLAC__stream_encoder_set_min_residual_partition_order</a>().<dl compact><dt><b>
1131
Default Value:</b><dd>
1132
<code>0</code> </dl><dl compact><dt><b>
1133
Parameters: </b><dd>
1134
<table border=0 cellspacing=2 cellpadding=0>
1135
<tr><td valign=top><em>encoder</em> </td><td>
1136
An encoder instance to set. </td></tr>
1137
<tr><td valign=top><em>value</em> </td><td>
1138
See above. </td></tr>
1140
</dl><dl compact><dt><b>
1142
<div class="fragment"><pre>encoder != NULL
1143
</pre></div> </dl><dl compact><dt><b>
1144
Return values: </b><dd>
1145
<table border=0 cellspacing=2 cellpadding=0>
1146
<tr><td valign=top><em>FLAC__bool</em> </td><td>
1147
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
1152
<a name="a20" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_max_residual_partition_order"></a><p>
1153
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1156
<table cellpadding="0" cellspacing="0" border="0">
1158
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_max_residual_partition_order </td>
1159
<td class="md" valign="top">( </td>
1160
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1161
<td class="mdname" nowrap> <em>encoder</em>, </td>
1166
<td class="md" nowrap>unsigned </td>
1167
<td class="mdname" nowrap> <em>value</em></td>
1171
<td class="md">) </td>
1172
<td class="md" colspan="2"></td>
1179
<table cellspacing=5 cellpadding=0 border=0>
1187
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a20">FLAC__stream_encoder_set_max_residual_partition_order</a>().<dl compact><dt><b>
1188
Default Value:</b><dd>
1189
<code>0</code> </dl><dl compact><dt><b>
1190
Parameters: </b><dd>
1191
<table border=0 cellspacing=2 cellpadding=0>
1192
<tr><td valign=top><em>encoder</em> </td><td>
1193
An encoder instance to set. </td></tr>
1194
<tr><td valign=top><em>value</em> </td><td>
1195
See above. </td></tr>
1197
</dl><dl compact><dt><b>
1199
<div class="fragment"><pre>encoder != NULL
1200
</pre></div> </dl><dl compact><dt><b>
1201
Return values: </b><dd>
1202
<table border=0 cellspacing=2 cellpadding=0>
1203
<tr><td valign=top><em>FLAC__bool</em> </td><td>
1204
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
1209
<a name="a21" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_rice_parameter_search_dist"></a><p>
1210
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1213
<table cellpadding="0" cellspacing="0" border="0">
1215
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_rice_parameter_search_dist </td>
1216
<td class="md" valign="top">( </td>
1217
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1218
<td class="mdname" nowrap> <em>encoder</em>, </td>
1223
<td class="md" nowrap>unsigned </td>
1224
<td class="mdname" nowrap> <em>value</em></td>
1228
<td class="md">) </td>
1229
<td class="md" colspan="2"></td>
1236
<table cellspacing=5 cellpadding=0 border=0>
1244
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a21">FLAC__stream_encoder_set_rice_parameter_search_dist</a>().<dl compact><dt><b>
1245
Default Value:</b><dd>
1246
<code>0</code> </dl><dl compact><dt><b>
1247
Parameters: </b><dd>
1248
<table border=0 cellspacing=2 cellpadding=0>
1249
<tr><td valign=top><em>encoder</em> </td><td>
1250
An encoder instance to set. </td></tr>
1251
<tr><td valign=top><em>value</em> </td><td>
1252
See above. </td></tr>
1254
</dl><dl compact><dt><b>
1256
<div class="fragment"><pre>encoder != NULL
1257
</pre></div> </dl><dl compact><dt><b>
1258
Return values: </b><dd>
1259
<table border=0 cellspacing=2 cellpadding=0>
1260
<tr><td valign=top><em>FLAC__bool</em> </td><td>
1261
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
1266
<a name="a22" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_total_samples_estimate"></a><p>
1267
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1270
<table cellpadding="0" cellspacing="0" border="0">
1272
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_total_samples_estimate </td>
1273
<td class="md" valign="top">( </td>
1274
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1275
<td class="mdname" nowrap> <em>encoder</em>, </td>
1280
<td class="md" nowrap>FLAC__uint64 </td>
1281
<td class="mdname" nowrap> <em>value</em></td>
1285
<td class="md">) </td>
1286
<td class="md" colspan="2"></td>
1293
<table cellspacing=5 cellpadding=0 border=0>
1301
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a22">FLAC__stream_encoder_set_total_samples_estimate</a>().<dl compact><dt><b>
1302
Default Value:</b><dd>
1303
<code>0</code> </dl><dl compact><dt><b>
1304
Parameters: </b><dd>
1305
<table border=0 cellspacing=2 cellpadding=0>
1306
<tr><td valign=top><em>encoder</em> </td><td>
1307
An encoder instance to set. </td></tr>
1308
<tr><td valign=top><em>value</em> </td><td>
1309
See above. </td></tr>
1311
</dl><dl compact><dt><b>
1313
<div class="fragment"><pre>encoder != NULL
1314
</pre></div> </dl><dl compact><dt><b>
1315
Return values: </b><dd>
1316
<table border=0 cellspacing=2 cellpadding=0>
1317
<tr><td valign=top><em>FLAC__bool</em> </td><td>
1318
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
1323
<a name="a23" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_metadata"></a><p>
1324
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1327
<table cellpadding="0" cellspacing="0" border="0">
1329
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_metadata </td>
1330
<td class="md" valign="top">( </td>
1331
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1332
<td class="mdname" nowrap> <em>encoder</em>, </td>
1337
<td class="md" nowrap><a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> ** </td>
1338
<td class="mdname" nowrap> <em>metadata</em>, </td>
1343
<td class="md" nowrap>unsigned </td>
1344
<td class="mdname" nowrap> <em>num_blocks</em></td>
1348
<td class="md">) </td>
1349
<td class="md" colspan="2"></td>
1356
<table cellspacing=5 cellpadding=0 border=0>
1364
This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a23">FLAC__stream_encoder_set_metadata</a>().
1368
SEEKTABLE blocks are handled specially. Since you will not know the values for the seek point stream offsets, you should pass in a SEEKTABLE 'template', that is, a SEEKTABLE object with the required sample numbers (or placeholder points), with <code>0</code> for the <em>frame_samples</em> and <em>stream_offset</em> fields for each point. While encoding, the encoder will fill them in for you and when encoding is finished, it will seek back and write the real values into the SEEKTABLE block in the stream. There are helper routines for manipulating seektable template blocks; see <a class="el" href="+_2metadata_8h.html">metadata.h</a>: FLAC__metadata_object_seektable_template_*().</dl><dl compact><dt><b>
1370
The encoder instance <b>will</b> modify the first <code>SEEKTABLE</code> block as it transforms the template to a valid seektable while encoding, but it is still up to the caller to free all metadata blocks after encoding.</dl><dl compact><dt><b>
1371
Default Value:</b><dd>
1372
<code>NULL</code>, 0 </dl><dl compact><dt><b>
1373
Parameters: </b><dd>
1374
<table border=0 cellspacing=2 cellpadding=0>
1375
<tr><td valign=top><em>encoder</em> </td><td>
1376
An encoder instance to set. </td></tr>
1377
<tr><td valign=top><em>metadata</em> </td><td>
1378
See above. </td></tr>
1379
<tr><td valign=top><em>num_blocks</em> </td><td>
1380
See above. </td></tr>
1382
</dl><dl compact><dt><b>
1384
<div class="fragment"><pre>encoder != NULL
1385
</pre></div> </dl><dl compact><dt><b>
1386
Return values: </b><dd>
1387
<table border=0 cellspacing=2 cellpadding=0>
1388
<tr><td valign=top><em>FLAC__bool</em> </td><td>
1389
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
1394
<a name="a24" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_seek_callback"></a><p>
1395
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1398
<table cellpadding="0" cellspacing="0" border="0">
1400
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_seek_callback </td>
1401
<td class="md" valign="top">( </td>
1402
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1403
<td class="mdname" nowrap> <em>encoder</em>, </td>
1408
<td class="md" nowrap><a class="el" href="group__flac__seekable__stream__encoder.html#a2">FLAC__SeekableStreamEncoderSeekCallback</a> </td>
1409
<td class="mdname" nowrap> <em>value</em></td>
1413
<td class="md">) </td>
1414
<td class="md" colspan="2"></td>
1421
<table cellspacing=5 cellpadding=0 border=0>
1429
Set the seek callback. The supplied function will be called when the encoder needs to seek the output stream. The encoder will pass the absolute byte offset to seek to, 0 meaning the beginning of the stream.
1433
The callback is mandatory and must be set before initialization.</dl><dl compact><dt><b>
1434
Default Value:</b><dd>
1435
<code>NULL</code> </dl><dl compact><dt><b>
1436
Parameters: </b><dd>
1437
<table border=0 cellspacing=2 cellpadding=0>
1438
<tr><td valign=top><em>encoder</em> </td><td>
1439
An encoder instance to set. </td></tr>
1440
<tr><td valign=top><em>value</em> </td><td>
1441
See above. </td></tr>
1443
</dl><dl compact><dt><b>
1445
<div class="fragment"><pre>encoder != NULL
1446
</pre></div> <div class="fragment"><pre>value != NULL
1447
</pre></div> </dl><dl compact><dt><b>
1448
Return values: </b><dd>
1449
<table border=0 cellspacing=2 cellpadding=0>
1450
<tr><td valign=top><em>FLAC__bool</em> </td><td>
1451
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
1456
<a name="a25" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_write_callback"></a><p>
1457
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1460
<table cellpadding="0" cellspacing="0" border="0">
1462
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_write_callback </td>
1463
<td class="md" valign="top">( </td>
1464
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1465
<td class="mdname" nowrap> <em>encoder</em>, </td>
1470
<td class="md" nowrap><a class="el" href="group__flac__seekable__stream__encoder.html#a3">FLAC__SeekableStreamEncoderWriteCallback</a> </td>
1471
<td class="mdname" nowrap> <em>value</em></td>
1475
<td class="md">) </td>
1476
<td class="md" colspan="2"></td>
1483
<table cellspacing=5 cellpadding=0 border=0>
1491
Set the write callback. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a24">FLAC__stream_encoder_set_write_callback</a>().
1495
The callback is mandatory and must be set before initialization.</dl><dl compact><dt><b>
1496
Default Value:</b><dd>
1497
<code>NULL</code> </dl><dl compact><dt><b>
1498
Parameters: </b><dd>
1499
<table border=0 cellspacing=2 cellpadding=0>
1500
<tr><td valign=top><em>encoder</em> </td><td>
1501
An encoder instance to set. </td></tr>
1502
<tr><td valign=top><em>value</em> </td><td>
1503
See above. </td></tr>
1505
</dl><dl compact><dt><b>
1507
<div class="fragment"><pre>encoder != NULL
1508
</pre></div> <div class="fragment"><pre>value != NULL
1509
</pre></div> </dl><dl compact><dt><b>
1510
Return values: </b><dd>
1511
<table border=0 cellspacing=2 cellpadding=0>
1512
<tr><td valign=top><em>FLAC__bool</em> </td><td>
1513
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
1518
<a name="a26" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_set_client_data"></a><p>
1519
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1522
<table cellpadding="0" cellspacing="0" border="0">
1524
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_set_client_data </td>
1525
<td class="md" valign="top">( </td>
1526
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1527
<td class="mdname" nowrap> <em>encoder</em>, </td>
1532
<td class="md" nowrap>void * </td>
1533
<td class="mdname" nowrap> <em>value</em></td>
1537
<td class="md">) </td>
1538
<td class="md" colspan="2"></td>
1545
<table cellspacing=5 cellpadding=0 border=0>
1553
Set the client data to be passed back to callbacks. This value will be supplied to callbacks in their <em>client_data</em> argument.<dl compact><dt><b>
1554
Default Value:</b><dd>
1555
<code>NULL</code> </dl><dl compact><dt><b>
1556
Parameters: </b><dd>
1557
<table border=0 cellspacing=2 cellpadding=0>
1558
<tr><td valign=top><em>encoder</em> </td><td>
1559
An encoder instance to set. </td></tr>
1560
<tr><td valign=top><em>value</em> </td><td>
1561
See above. </td></tr>
1563
</dl><dl compact><dt><b>
1565
<div class="fragment"><pre>encoder != NULL
1566
</pre></div> </dl><dl compact><dt><b>
1567
Return values: </b><dd>
1568
<table border=0 cellspacing=2 cellpadding=0>
1569
<tr><td valign=top><em>FLAC__bool</em> </td><td>
1570
<code>false</code> if the encoder is already initialized, else <code>true</code>. </td></tr>
1575
<a name="a27" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_state"></a><p>
1576
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1579
<table cellpadding="0" cellspacing="0" border="0">
1581
<td class="md" nowrap valign="top"> <a class="el" href="group__flac__seekable__stream__encoder.html#a53">FLAC__SeekableStreamEncoderState</a> FLAC__seekable_stream_encoder_get_state </td>
1582
<td class="md" valign="top">( </td>
1583
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1584
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
1585
<td class="md" valign="top">) </td>
1586
<td class="md" nowrap></td>
1593
<table cellspacing=5 cellpadding=0 border=0>
1601
Get the current encoder state.<dl compact><dt><b>
1602
Parameters: </b><dd>
1603
<table border=0 cellspacing=2 cellpadding=0>
1604
<tr><td valign=top><em>encoder</em> </td><td>
1605
An encoder instance to query. </td></tr>
1607
</dl><dl compact><dt><b>
1609
<div class="fragment"><pre>encoder != NULL
1610
</pre></div> </dl><dl compact><dt><b>
1611
Return values: </b><dd>
1612
<table border=0 cellspacing=2 cellpadding=0>
1613
<tr><td valign=top><em>FLAC__SeekableStreamEncoderState</em> </td><td>
1614
The current encoder state. </td></tr>
1619
<a name="a28" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_stream_encoder_state"></a><p>
1620
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1623
<table cellpadding="0" cellspacing="0" border="0">
1625
<td class="md" nowrap valign="top"> <a class="el" href="group__flac__stream__encoder.html#a52">FLAC__StreamEncoderState</a> FLAC__seekable_stream_encoder_get_stream_encoder_state </td>
1626
<td class="md" valign="top">( </td>
1627
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1628
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
1629
<td class="md" valign="top">) </td>
1630
<td class="md" nowrap></td>
1637
<table cellspacing=5 cellpadding=0 border=0>
1645
Get the state of the underlying stream encoder. Useful when the seekable stream encoder state is <code>FLAC__SEEKABLE_STREAM_ENCODER_STREAM_ENCODER_ERROR</code>.<dl compact><dt><b>
1646
Parameters: </b><dd>
1647
<table border=0 cellspacing=2 cellpadding=0>
1648
<tr><td valign=top><em>encoder</em> </td><td>
1649
An encoder instance to query. </td></tr>
1651
</dl><dl compact><dt><b>
1653
<div class="fragment"><pre>encoder != NULL
1654
</pre></div> </dl><dl compact><dt><b>
1655
Return values: </b><dd>
1656
<table border=0 cellspacing=2 cellpadding=0>
1657
<tr><td valign=top><em>FLAC__StreamEncoderState</em> </td><td>
1658
The stream encoder state. </td></tr>
1663
<a name="a29" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_verify_decoder_state"></a><p>
1664
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1667
<table cellpadding="0" cellspacing="0" border="0">
1669
<td class="md" nowrap valign="top"> <a class="el" href="group__flac__stream__decoder.html#a34">FLAC__StreamDecoderState</a> FLAC__seekable_stream_encoder_get_verify_decoder_state </td>
1670
<td class="md" valign="top">( </td>
1671
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1672
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
1673
<td class="md" valign="top">) </td>
1674
<td class="md" nowrap></td>
1681
<table cellspacing=5 cellpadding=0 border=0>
1689
Get the state of the underlying stream encoder's verify decoder. Useful when the seekable stream encoder state is <code>FLAC__SEEKABLE_STREAM_ENCODER_STREAM_ENCODER_ERROR</code> and the stream encoder state is <code>FLAC__STREAM_ENCODER_VERIFY_DECODER_ERROR</code>.<dl compact><dt><b>
1690
Parameters: </b><dd>
1691
<table border=0 cellspacing=2 cellpadding=0>
1692
<tr><td valign=top><em>encoder</em> </td><td>
1693
An encoder instance to query. </td></tr>
1695
</dl><dl compact><dt><b>
1697
<div class="fragment"><pre>encoder != NULL
1698
</pre></div> </dl><dl compact><dt><b>
1699
Return values: </b><dd>
1700
<table border=0 cellspacing=2 cellpadding=0>
1701
<tr><td valign=top><em>FLAC__StreamDecoderState</em> </td><td>
1702
The stream encoder state. </td></tr>
1707
<a name="a30" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_resolved_state_string"></a><p>
1708
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1711
<table cellpadding="0" cellspacing="0" border="0">
1713
<td class="md" nowrap valign="top"> const char* FLAC__seekable_stream_encoder_get_resolved_state_string </td>
1714
<td class="md" valign="top">( </td>
1715
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1716
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
1717
<td class="md" valign="top">) </td>
1718
<td class="md" nowrap></td>
1725
<table cellspacing=5 cellpadding=0 border=0>
1733
Get the current encoder state as a C string. This version automatically resolves <code>FLAC__SEEKABLE_STREAM_ENCODER_STREAM_ENCODER_ERROR</code> by getting the stream encoder's state.<dl compact><dt><b>
1734
Parameters: </b><dd>
1735
<table border=0 cellspacing=2 cellpadding=0>
1736
<tr><td valign=top><em>encoder</em> </td><td>
1737
A encoder instance to query. </td></tr>
1739
</dl><dl compact><dt><b>
1741
<div class="fragment"><pre>encoder != NULL
1742
</pre></div> </dl><dl compact><dt><b>
1743
Return values: </b><dd>
1744
<table border=0 cellspacing=2 cellpadding=0>
1745
<tr><td valign=top><em>const</em> </td><td>
1746
char * The encoder state as a C string. Do not modify the contents. </td></tr>
1751
<a name="a31" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_verify_decoder_error_stats"></a><p>
1752
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1755
<table cellpadding="0" cellspacing="0" border="0">
1757
<td class="md" nowrap valign="top"> void FLAC__seekable_stream_encoder_get_verify_decoder_error_stats </td>
1758
<td class="md" valign="top">( </td>
1759
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1760
<td class="mdname" nowrap> <em>encoder</em>, </td>
1765
<td class="md" nowrap>FLAC__uint64 * </td>
1766
<td class="mdname" nowrap> <em>absolute_sample</em>, </td>
1771
<td class="md" nowrap>unsigned * </td>
1772
<td class="mdname" nowrap> <em>frame_number</em>, </td>
1777
<td class="md" nowrap>unsigned * </td>
1778
<td class="mdname" nowrap> <em>channel</em>, </td>
1783
<td class="md" nowrap>unsigned * </td>
1784
<td class="mdname" nowrap> <em>sample</em>, </td>
1789
<td class="md" nowrap>FLAC__int32 * </td>
1790
<td class="mdname" nowrap> <em>expected</em>, </td>
1795
<td class="md" nowrap>FLAC__int32 * </td>
1796
<td class="mdname" nowrap> <em>got</em></td>
1800
<td class="md">) </td>
1801
<td class="md" colspan="2"></td>
1808
<table cellspacing=5 cellpadding=0 border=0>
1816
Get relevant values about the nature of a verify decoder error. Inherited from <a class="el" href="group__flac__stream__encoder.html#a30">FLAC__stream_encoder_get_verify_decoder_error_stats</a>(). Useful when the seekable stream encoder state is <code>FLAC__SEEKABLE_STREAM_ENCODER_STREAM_ENCODER_ERROR</code> and the stream encoder state is <code>FLAC__STREAM_ENCODER_VERIFY_DECODER_ERROR</code>.<dl compact><dt><b>
1817
Parameters: </b><dd>
1818
<table border=0 cellspacing=2 cellpadding=0>
1819
<tr><td valign=top><em>encoder</em> </td><td>
1820
An encoder instance to query. </td></tr>
1821
<tr><td valign=top><em>absolute_sample</em> </td><td>
1822
The absolute sample number of the mismatch. </td></tr>
1823
<tr><td valign=top><em>frame_number</em> </td><td>
1824
The number of the frame in which the mismatch occurred. </td></tr>
1825
<tr><td valign=top><em>channel</em> </td><td>
1826
The channel in which the mismatch occurred. </td></tr>
1827
<tr><td valign=top><em>sample</em> </td><td>
1828
The number of the sample (relative to the frame) in which the mismatch occurred. </td></tr>
1829
<tr><td valign=top><em>expected</em> </td><td>
1830
The expected value for the sample in question. </td></tr>
1831
<tr><td valign=top><em>got</em> </td><td>
1832
The actual value returned by the decoder. </td></tr>
1834
</dl><dl compact><dt><b>
1836
<div class="fragment"><pre>encoder != NULL
1837
</pre></div> </dl> </td>
1840
<a name="a32" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_verify"></a><p>
1841
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1844
<table cellpadding="0" cellspacing="0" border="0">
1846
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_get_verify </td>
1847
<td class="md" valign="top">( </td>
1848
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1849
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
1850
<td class="md" valign="top">) </td>
1851
<td class="md" nowrap></td>
1858
<table cellspacing=5 cellpadding=0 border=0>
1866
Get the "verify" flag. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a31">FLAC__stream_encoder_get_verify</a>().<dl compact><dt><b>
1867
Parameters: </b><dd>
1868
<table border=0 cellspacing=2 cellpadding=0>
1869
<tr><td valign=top><em>encoder</em> </td><td>
1870
An encoder instance to query. </td></tr>
1872
</dl><dl compact><dt><b>
1874
<div class="fragment"><pre>encoder != NULL
1875
</pre></div> </dl><dl compact><dt><b>
1876
Return values: </b><dd>
1877
<table border=0 cellspacing=2 cellpadding=0>
1878
<tr><td valign=top><em>FLAC__bool</em> </td><td>
1879
See <a class="el" href="group__flac__seekable__stream__encoder.html#a6">FLAC__seekable_stream_encoder_set_verify</a>(). </td></tr>
1884
<a name="a33" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_streamable_subset"></a><p>
1885
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1888
<table cellpadding="0" cellspacing="0" border="0">
1890
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_get_streamable_subset </td>
1891
<td class="md" valign="top">( </td>
1892
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1893
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
1894
<td class="md" valign="top">) </td>
1895
<td class="md" nowrap></td>
1902
<table cellspacing=5 cellpadding=0 border=0>
1910
Get the "streamable subset" flag. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a32">FLAC__stream_encoder_get_streamable_subset</a>().<dl compact><dt><b>
1911
Parameters: </b><dd>
1912
<table border=0 cellspacing=2 cellpadding=0>
1913
<tr><td valign=top><em>encoder</em> </td><td>
1914
An encoder instance to query. </td></tr>
1916
</dl><dl compact><dt><b>
1918
<div class="fragment"><pre>encoder != NULL
1919
</pre></div> </dl><dl compact><dt><b>
1920
Return values: </b><dd>
1921
<table border=0 cellspacing=2 cellpadding=0>
1922
<tr><td valign=top><em>FLAC__bool</em> </td><td>
1923
See <a class="el" href="group__flac__seekable__stream__encoder.html#a7">FLAC__seekable_stream_encoder_set_streamable_subset</a>(). </td></tr>
1928
<a name="a34" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_do_mid_side_stereo"></a><p>
1929
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1932
<table cellpadding="0" cellspacing="0" border="0">
1934
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_get_do_mid_side_stereo </td>
1935
<td class="md" valign="top">( </td>
1936
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1937
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
1938
<td class="md" valign="top">) </td>
1939
<td class="md" nowrap></td>
1946
<table cellspacing=5 cellpadding=0 border=0>
1954
Get the "mid/side stereo coding" flag. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a33">FLAC__stream_encoder_get_do_mid_side_stereo</a>().<dl compact><dt><b>
1955
Parameters: </b><dd>
1956
<table border=0 cellspacing=2 cellpadding=0>
1957
<tr><td valign=top><em>encoder</em> </td><td>
1958
An encoder instance to query. </td></tr>
1960
</dl><dl compact><dt><b>
1962
<div class="fragment"><pre>encoder != NULL
1963
</pre></div> </dl><dl compact><dt><b>
1964
Return values: </b><dd>
1965
<table border=0 cellspacing=2 cellpadding=0>
1966
<tr><td valign=top><em>FLAC__bool</em> </td><td>
1967
See <a class="el" href="group__flac__seekable__stream__encoder.html#a34">FLAC__seekable_stream_encoder_get_do_mid_side_stereo</a>(). </td></tr>
1972
<a name="a35" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_loose_mid_side_stereo"></a><p>
1973
<table width="100%" cellpadding="2" cellspacing="0" border="0">
1976
<table cellpadding="0" cellspacing="0" border="0">
1978
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_get_loose_mid_side_stereo </td>
1979
<td class="md" valign="top">( </td>
1980
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
1981
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
1982
<td class="md" valign="top">) </td>
1983
<td class="md" nowrap></td>
1990
<table cellspacing=5 cellpadding=0 border=0>
1998
Get the "adaptive mid/side switching" flag. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a34">FLAC__stream_encoder_get_loose_mid_side_stereo</a>().<dl compact><dt><b>
1999
Parameters: </b><dd>
2000
<table border=0 cellspacing=2 cellpadding=0>
2001
<tr><td valign=top><em>encoder</em> </td><td>
2002
An encoder instance to query. </td></tr>
2004
</dl><dl compact><dt><b>
2006
<div class="fragment"><pre>encoder != NULL
2007
</pre></div> </dl><dl compact><dt><b>
2008
Return values: </b><dd>
2009
<table border=0 cellspacing=2 cellpadding=0>
2010
<tr><td valign=top><em>FLAC__bool</em> </td><td>
2011
See <a class="el" href="group__flac__seekable__stream__encoder.html#a9">FLAC__seekable_stream_encoder_set_loose_mid_side_stereo</a>(). </td></tr>
2016
<a name="a36" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_channels"></a><p>
2017
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2020
<table cellpadding="0" cellspacing="0" border="0">
2022
<td class="md" nowrap valign="top"> unsigned FLAC__seekable_stream_encoder_get_channels </td>
2023
<td class="md" valign="top">( </td>
2024
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
2025
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
2026
<td class="md" valign="top">) </td>
2027
<td class="md" nowrap></td>
2034
<table cellspacing=5 cellpadding=0 border=0>
2042
Get the number of input channels being processed. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a35">FLAC__stream_encoder_get_channels</a>().<dl compact><dt><b>
2043
Parameters: </b><dd>
2044
<table border=0 cellspacing=2 cellpadding=0>
2045
<tr><td valign=top><em>encoder</em> </td><td>
2046
An encoder instance to query. </td></tr>
2048
</dl><dl compact><dt><b>
2050
<div class="fragment"><pre>encoder != NULL
2051
</pre></div> </dl><dl compact><dt><b>
2052
Return values: </b><dd>
2053
<table border=0 cellspacing=2 cellpadding=0>
2054
<tr><td valign=top><em>unsigned</em> </td><td>
2055
See <a class="el" href="group__flac__seekable__stream__encoder.html#a10">FLAC__seekable_stream_encoder_set_channels</a>(). </td></tr>
2060
<a name="a37" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_bits_per_sample"></a><p>
2061
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2064
<table cellpadding="0" cellspacing="0" border="0">
2066
<td class="md" nowrap valign="top"> unsigned FLAC__seekable_stream_encoder_get_bits_per_sample </td>
2067
<td class="md" valign="top">( </td>
2068
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
2069
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
2070
<td class="md" valign="top">) </td>
2071
<td class="md" nowrap></td>
2078
<table cellspacing=5 cellpadding=0 border=0>
2086
Get the input sample resolution setting. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a36">FLAC__stream_encoder_get_bits_per_sample</a>().<dl compact><dt><b>
2087
Parameters: </b><dd>
2088
<table border=0 cellspacing=2 cellpadding=0>
2089
<tr><td valign=top><em>encoder</em> </td><td>
2090
An encoder instance to query. </td></tr>
2092
</dl><dl compact><dt><b>
2094
<div class="fragment"><pre>encoder != NULL
2095
</pre></div> </dl><dl compact><dt><b>
2096
Return values: </b><dd>
2097
<table border=0 cellspacing=2 cellpadding=0>
2098
<tr><td valign=top><em>unsigned</em> </td><td>
2099
See <a class="el" href="group__flac__seekable__stream__encoder.html#a11">FLAC__seekable_stream_encoder_set_bits_per_sample</a>(). </td></tr>
2104
<a name="a38" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_sample_rate"></a><p>
2105
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2108
<table cellpadding="0" cellspacing="0" border="0">
2110
<td class="md" nowrap valign="top"> unsigned FLAC__seekable_stream_encoder_get_sample_rate </td>
2111
<td class="md" valign="top">( </td>
2112
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
2113
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
2114
<td class="md" valign="top">) </td>
2115
<td class="md" nowrap></td>
2122
<table cellspacing=5 cellpadding=0 border=0>
2130
Get the input sample rate setting. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a37">FLAC__stream_encoder_get_sample_rate</a>().<dl compact><dt><b>
2131
Parameters: </b><dd>
2132
<table border=0 cellspacing=2 cellpadding=0>
2133
<tr><td valign=top><em>encoder</em> </td><td>
2134
An encoder instance to query. </td></tr>
2136
</dl><dl compact><dt><b>
2138
<div class="fragment"><pre>encoder != NULL
2139
</pre></div> </dl><dl compact><dt><b>
2140
Return values: </b><dd>
2141
<table border=0 cellspacing=2 cellpadding=0>
2142
<tr><td valign=top><em>unsigned</em> </td><td>
2143
See <a class="el" href="group__flac__seekable__stream__encoder.html#a12">FLAC__seekable_stream_encoder_set_sample_rate</a>(). </td></tr>
2148
<a name="a39" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_blocksize"></a><p>
2149
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2152
<table cellpadding="0" cellspacing="0" border="0">
2154
<td class="md" nowrap valign="top"> unsigned FLAC__seekable_stream_encoder_get_blocksize </td>
2155
<td class="md" valign="top">( </td>
2156
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
2157
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
2158
<td class="md" valign="top">) </td>
2159
<td class="md" nowrap></td>
2166
<table cellspacing=5 cellpadding=0 border=0>
2174
Get the blocksize setting. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a38">FLAC__stream_encoder_get_blocksize</a>().<dl compact><dt><b>
2175
Parameters: </b><dd>
2176
<table border=0 cellspacing=2 cellpadding=0>
2177
<tr><td valign=top><em>encoder</em> </td><td>
2178
An encoder instance to query. </td></tr>
2180
</dl><dl compact><dt><b>
2182
<div class="fragment"><pre>encoder != NULL
2183
</pre></div> </dl><dl compact><dt><b>
2184
Return values: </b><dd>
2185
<table border=0 cellspacing=2 cellpadding=0>
2186
<tr><td valign=top><em>unsigned</em> </td><td>
2187
See <a class="el" href="group__flac__seekable__stream__encoder.html#a13">FLAC__seekable_stream_encoder_set_blocksize</a>(). </td></tr>
2192
<a name="a40" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_max_lpc_order"></a><p>
2193
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2196
<table cellpadding="0" cellspacing="0" border="0">
2198
<td class="md" nowrap valign="top"> unsigned FLAC__seekable_stream_encoder_get_max_lpc_order </td>
2199
<td class="md" valign="top">( </td>
2200
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
2201
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
2202
<td class="md" valign="top">) </td>
2203
<td class="md" nowrap></td>
2210
<table cellspacing=5 cellpadding=0 border=0>
2218
Get the maximum LPC order setting. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a39">FLAC__stream_encoder_get_max_lpc_order</a>().<dl compact><dt><b>
2219
Parameters: </b><dd>
2220
<table border=0 cellspacing=2 cellpadding=0>
2221
<tr><td valign=top><em>encoder</em> </td><td>
2222
An encoder instance to query. </td></tr>
2224
</dl><dl compact><dt><b>
2226
<div class="fragment"><pre>encoder != NULL
2227
</pre></div> </dl><dl compact><dt><b>
2228
Return values: </b><dd>
2229
<table border=0 cellspacing=2 cellpadding=0>
2230
<tr><td valign=top><em>unsigned</em> </td><td>
2231
See <a class="el" href="group__flac__seekable__stream__encoder.html#a14">FLAC__seekable_stream_encoder_set_max_lpc_order</a>(). </td></tr>
2236
<a name="a41" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_qlp_coeff_precision"></a><p>
2237
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2240
<table cellpadding="0" cellspacing="0" border="0">
2242
<td class="md" nowrap valign="top"> unsigned FLAC__seekable_stream_encoder_get_qlp_coeff_precision </td>
2243
<td class="md" valign="top">( </td>
2244
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
2245
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
2246
<td class="md" valign="top">) </td>
2247
<td class="md" nowrap></td>
2254
<table cellspacing=5 cellpadding=0 border=0>
2262
Get the quantized linear predictor coefficient precision setting. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a40">FLAC__stream_encoder_get_qlp_coeff_precision</a>().<dl compact><dt><b>
2263
Parameters: </b><dd>
2264
<table border=0 cellspacing=2 cellpadding=0>
2265
<tr><td valign=top><em>encoder</em> </td><td>
2266
An encoder instance to query. </td></tr>
2268
</dl><dl compact><dt><b>
2270
<div class="fragment"><pre>encoder != NULL
2271
</pre></div> </dl><dl compact><dt><b>
2272
Return values: </b><dd>
2273
<table border=0 cellspacing=2 cellpadding=0>
2274
<tr><td valign=top><em>unsigned</em> </td><td>
2275
See <a class="el" href="group__flac__seekable__stream__encoder.html#a15">FLAC__seekable_stream_encoder_set_qlp_coeff_precision</a>(). </td></tr>
2280
<a name="a42" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_do_qlp_coeff_prec_search"></a><p>
2281
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2284
<table cellpadding="0" cellspacing="0" border="0">
2286
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_get_do_qlp_coeff_prec_search </td>
2287
<td class="md" valign="top">( </td>
2288
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
2289
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
2290
<td class="md" valign="top">) </td>
2291
<td class="md" nowrap></td>
2298
<table cellspacing=5 cellpadding=0 border=0>
2306
Get the qlp coefficient precision search flag. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a41">FLAC__stream_encoder_get_do_qlp_coeff_prec_search</a>().<dl compact><dt><b>
2307
Parameters: </b><dd>
2308
<table border=0 cellspacing=2 cellpadding=0>
2309
<tr><td valign=top><em>encoder</em> </td><td>
2310
An encoder instance to query. </td></tr>
2312
</dl><dl compact><dt><b>
2314
<div class="fragment"><pre>encoder != NULL
2315
</pre></div> </dl><dl compact><dt><b>
2316
Return values: </b><dd>
2317
<table border=0 cellspacing=2 cellpadding=0>
2318
<tr><td valign=top><em>FLAC__bool</em> </td><td>
2319
See <a class="el" href="group__flac__seekable__stream__encoder.html#a16">FLAC__seekable_stream_encoder_set_do_qlp_coeff_prec_search</a>(). </td></tr>
2324
<a name="a43" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_do_escape_coding"></a><p>
2325
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2328
<table cellpadding="0" cellspacing="0" border="0">
2330
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_get_do_escape_coding </td>
2331
<td class="md" valign="top">( </td>
2332
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
2333
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
2334
<td class="md" valign="top">) </td>
2335
<td class="md" nowrap></td>
2342
<table cellspacing=5 cellpadding=0 border=0>
2350
Get the "escape coding" flag. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a42">FLAC__stream_encoder_get_do_escape_coding</a>().<dl compact><dt><b>
2351
Parameters: </b><dd>
2352
<table border=0 cellspacing=2 cellpadding=0>
2353
<tr><td valign=top><em>encoder</em> </td><td>
2354
An encoder instance to query. </td></tr>
2356
</dl><dl compact><dt><b>
2358
<div class="fragment"><pre>encoder != NULL
2359
</pre></div> </dl><dl compact><dt><b>
2360
Return values: </b><dd>
2361
<table border=0 cellspacing=2 cellpadding=0>
2362
<tr><td valign=top><em>FLAC__bool</em> </td><td>
2363
See <a class="el" href="group__flac__seekable__stream__encoder.html#a17">FLAC__seekable_stream_encoder_set_do_escape_coding</a>(). </td></tr>
2368
<a name="a44" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_do_exhaustive_model_search"></a><p>
2369
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2372
<table cellpadding="0" cellspacing="0" border="0">
2374
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_get_do_exhaustive_model_search </td>
2375
<td class="md" valign="top">( </td>
2376
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
2377
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
2378
<td class="md" valign="top">) </td>
2379
<td class="md" nowrap></td>
2386
<table cellspacing=5 cellpadding=0 border=0>
2394
Get the exhaustive model search flag. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a43">FLAC__stream_encoder_get_do_exhaustive_model_search</a>().<dl compact><dt><b>
2395
Parameters: </b><dd>
2396
<table border=0 cellspacing=2 cellpadding=0>
2397
<tr><td valign=top><em>encoder</em> </td><td>
2398
An encoder instance to query. </td></tr>
2400
</dl><dl compact><dt><b>
2402
<div class="fragment"><pre>encoder != NULL
2403
</pre></div> </dl><dl compact><dt><b>
2404
Return values: </b><dd>
2405
<table border=0 cellspacing=2 cellpadding=0>
2406
<tr><td valign=top><em>FLAC__bool</em> </td><td>
2407
See <a class="el" href="group__flac__seekable__stream__encoder.html#a18">FLAC__seekable_stream_encoder_set_do_exhaustive_model_search</a>(). </td></tr>
2412
<a name="a45" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_min_residual_partition_order"></a><p>
2413
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2416
<table cellpadding="0" cellspacing="0" border="0">
2418
<td class="md" nowrap valign="top"> unsigned FLAC__seekable_stream_encoder_get_min_residual_partition_order </td>
2419
<td class="md" valign="top">( </td>
2420
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
2421
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
2422
<td class="md" valign="top">) </td>
2423
<td class="md" nowrap></td>
2430
<table cellspacing=5 cellpadding=0 border=0>
2438
Get the minimum residual partition order setting. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a44">FLAC__stream_encoder_get_min_residual_partition_order</a>().<dl compact><dt><b>
2439
Parameters: </b><dd>
2440
<table border=0 cellspacing=2 cellpadding=0>
2441
<tr><td valign=top><em>encoder</em> </td><td>
2442
An encoder instance to query. </td></tr>
2444
</dl><dl compact><dt><b>
2446
<div class="fragment"><pre>encoder != NULL
2447
</pre></div> </dl><dl compact><dt><b>
2448
Return values: </b><dd>
2449
<table border=0 cellspacing=2 cellpadding=0>
2450
<tr><td valign=top><em>unsigned</em> </td><td>
2451
See <a class="el" href="group__flac__seekable__stream__encoder.html#a19">FLAC__seekable_stream_encoder_set_min_residual_partition_order</a>(). </td></tr>
2456
<a name="a46" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_max_residual_partition_order"></a><p>
2457
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2460
<table cellpadding="0" cellspacing="0" border="0">
2462
<td class="md" nowrap valign="top"> unsigned FLAC__seekable_stream_encoder_get_max_residual_partition_order </td>
2463
<td class="md" valign="top">( </td>
2464
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
2465
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
2466
<td class="md" valign="top">) </td>
2467
<td class="md" nowrap></td>
2474
<table cellspacing=5 cellpadding=0 border=0>
2482
Get maximum residual partition order setting. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a45">FLAC__stream_encoder_get_max_residual_partition_order</a>().<dl compact><dt><b>
2483
Parameters: </b><dd>
2484
<table border=0 cellspacing=2 cellpadding=0>
2485
<tr><td valign=top><em>encoder</em> </td><td>
2486
An encoder instance to query. </td></tr>
2488
</dl><dl compact><dt><b>
2490
<div class="fragment"><pre>encoder != NULL
2491
</pre></div> </dl><dl compact><dt><b>
2492
Return values: </b><dd>
2493
<table border=0 cellspacing=2 cellpadding=0>
2494
<tr><td valign=top><em>unsigned</em> </td><td>
2495
See <a class="el" href="group__flac__seekable__stream__encoder.html#a20">FLAC__seekable_stream_encoder_set_max_residual_partition_order</a>(). </td></tr>
2500
<a name="a47" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_rice_parameter_search_dist"></a><p>
2501
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2504
<table cellpadding="0" cellspacing="0" border="0">
2506
<td class="md" nowrap valign="top"> unsigned FLAC__seekable_stream_encoder_get_rice_parameter_search_dist </td>
2507
<td class="md" valign="top">( </td>
2508
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
2509
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
2510
<td class="md" valign="top">) </td>
2511
<td class="md" nowrap></td>
2518
<table cellspacing=5 cellpadding=0 border=0>
2526
Get the Rice parameter search distance setting. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a46">FLAC__stream_encoder_get_rice_parameter_search_dist</a>().<dl compact><dt><b>
2527
Parameters: </b><dd>
2528
<table border=0 cellspacing=2 cellpadding=0>
2529
<tr><td valign=top><em>encoder</em> </td><td>
2530
An encoder instance to query. </td></tr>
2532
</dl><dl compact><dt><b>
2534
<div class="fragment"><pre>encoder != NULL
2535
</pre></div> </dl><dl compact><dt><b>
2536
Return values: </b><dd>
2537
<table border=0 cellspacing=2 cellpadding=0>
2538
<tr><td valign=top><em>unsigned</em> </td><td>
2539
See <a class="el" href="group__flac__seekable__stream__encoder.html#a21">FLAC__seekable_stream_encoder_set_rice_parameter_search_dist</a>(). </td></tr>
2544
<a name="a48" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_get_total_samples_estimate"></a><p>
2545
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2548
<table cellpadding="0" cellspacing="0" border="0">
2550
<td class="md" nowrap valign="top"> FLAC__uint64 FLAC__seekable_stream_encoder_get_total_samples_estimate </td>
2551
<td class="md" valign="top">( </td>
2552
<td class="md" nowrap valign="top">const <a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
2553
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
2554
<td class="md" valign="top">) </td>
2555
<td class="md" nowrap></td>
2562
<table cellspacing=5 cellpadding=0 border=0>
2570
Get the previously set estimate of the total samples to be encoded. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a47">FLAC__stream_encoder_get_total_samples_estimate</a>().<dl compact><dt><b>
2571
Parameters: </b><dd>
2572
<table border=0 cellspacing=2 cellpadding=0>
2573
<tr><td valign=top><em>encoder</em> </td><td>
2574
An encoder instance to query. </td></tr>
2576
</dl><dl compact><dt><b>
2578
<div class="fragment"><pre>encoder != NULL
2579
</pre></div> </dl><dl compact><dt><b>
2580
Return values: </b><dd>
2581
<table border=0 cellspacing=2 cellpadding=0>
2582
<tr><td valign=top><em>FLAC__uint64</em> </td><td>
2583
See <a class="el" href="group__flac__seekable__stream__encoder.html#a22">FLAC__seekable_stream_encoder_set_total_samples_estimate</a>(). </td></tr>
2588
<a name="a49" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_init"></a><p>
2589
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2592
<table cellpadding="0" cellspacing="0" border="0">
2594
<td class="md" nowrap valign="top"> <a class="el" href="group__flac__seekable__stream__encoder.html#a53">FLAC__SeekableStreamEncoderState</a> FLAC__seekable_stream_encoder_init </td>
2595
<td class="md" valign="top">( </td>
2596
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
2597
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
2598
<td class="md" valign="top">) </td>
2599
<td class="md" nowrap></td>
2606
<table cellspacing=5 cellpadding=0 border=0>
2614
Initialize the encoder instance. Should be called after <a class="el" href="group__flac__seekable__stream__encoder.html#a4">FLAC__seekable_stream_encoder_new</a>() and FLAC__seekable_stream_encoder_set_*() but before <a class="el" href="group__flac__seekable__stream__encoder.html#a51">FLAC__seekable_stream_encoder_process</a>() or <a class="el" href="group__flac__seekable__stream__encoder.html#a52">FLAC__seekable_stream_encoder_process_interleaved</a>(). Will set and return the encoder state, which will be FLAC__SEEKABLE_STREAM_ENCODER_OK if initialization succeeded.
2616
The call to <a class="el" href="group__flac__seekable__stream__encoder.html#a49">FLAC__seekable_stream_encoder_init</a>() currently will also immediately call the write callback with the <code>fLaC</code> signature and all the encoded metadata.<dl compact><dt><b>
2617
Parameters: </b><dd>
2618
<table border=0 cellspacing=2 cellpadding=0>
2619
<tr><td valign=top><em>encoder</em> </td><td>
2620
An uninitialized encoder instance. </td></tr>
2622
</dl><dl compact><dt><b>
2624
<div class="fragment"><pre>encoder != NULL
2625
</pre></div> </dl><dl compact><dt><b>
2626
Return values: </b><dd>
2627
<table border=0 cellspacing=2 cellpadding=0>
2628
<tr><td valign=top><em>FLAC__SeekableStreamEncoderState</em> </td><td>
2629
<code>FLAC__SEEKABLE_STREAM_ENCODER_OK</code> if initialization was successful; see FLAC__SeekableStreamEncoderState for the meanings of other return values. </td></tr>
2634
<a name="a50" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_finish"></a><p>
2635
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2638
<table cellpadding="0" cellspacing="0" border="0">
2640
<td class="md" nowrap valign="top"> void FLAC__seekable_stream_encoder_finish </td>
2641
<td class="md" valign="top">( </td>
2642
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
2643
<td class="mdname1" valign="top" nowrap> <em>encoder</em> </td>
2644
<td class="md" valign="top">) </td>
2645
<td class="md" nowrap></td>
2652
<table cellspacing=5 cellpadding=0 border=0>
2660
Finish the encoding process. Flushes the encoding buffer, releases resources, resets the encoder settings to their defaults, and returns the encoder state to FLAC__SEEKABLE_STREAM_ENCODER_UNINITIALIZED.
2662
In the event of a prematurely-terminated encode, it is not strictly necessary to call this immediately before <a class="el" href="group__flac__seekable__stream__encoder.html#a5">FLAC__seekable_stream_encoder_delete</a>() but it is good practice to match every <a class="el" href="group__flac__seekable__stream__encoder.html#a49">FLAC__seekable_stream_encoder_init</a>() with a <a class="el" href="group__flac__seekable__stream__encoder.html#a50">FLAC__seekable_stream_encoder_finish</a>().<dl compact><dt><b>
2663
Parameters: </b><dd>
2664
<table border=0 cellspacing=2 cellpadding=0>
2665
<tr><td valign=top><em>encoder</em> </td><td>
2666
An uninitialized encoder instance. </td></tr>
2668
</dl><dl compact><dt><b>
2670
<div class="fragment"><pre>encoder != NULL
2671
</pre></div> </dl> </td>
2674
<a name="a51" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_process"></a><p>
2675
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2678
<table cellpadding="0" cellspacing="0" border="0">
2680
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_process </td>
2681
<td class="md" valign="top">( </td>
2682
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
2683
<td class="mdname" nowrap> <em>encoder</em>, </td>
2688
<td class="md" nowrap>const FLAC__int32 *const </td>
2689
<td class="mdname" nowrap> <em>buffer</em>[], </td>
2694
<td class="md" nowrap>unsigned </td>
2695
<td class="mdname" nowrap> <em>samples</em></td>
2699
<td class="md">) </td>
2700
<td class="md" colspan="2"></td>
2707
<table cellspacing=5 cellpadding=0 border=0>
2715
Submit data for encoding. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a50">FLAC__stream_encoder_process</a>().<dl compact><dt><b>
2716
Parameters: </b><dd>
2717
<table border=0 cellspacing=2 cellpadding=0>
2718
<tr><td valign=top><em>encoder</em> </td><td>
2719
An initialized encoder instance in the OK state. </td></tr>
2720
<tr><td valign=top><em>buffer</em> </td><td>
2721
An array of pointers to each channel's signal. </td></tr>
2722
<tr><td valign=top><em>samples</em> </td><td>
2723
The number of samples in one channel. </td></tr>
2725
</dl><dl compact><dt><b>
2727
<div class="fragment"><pre>encoder != NULL
2728
</pre></div> <div class="fragment"><pre><a class="code" href="seekable__stream__encoder_8h.html#a27">FLAC__seekable_stream_encoder_get_state</a>(encoder) == <a class="code" href="seekable__stream__encoder_8h.html#a53a4">FLAC__SEEKABLE_STREAM_ENCODER_OK</a>
2729
</pre></div> </dl><dl compact><dt><b>
2730
Return values: </b><dd>
2731
<table border=0 cellspacing=2 cellpadding=0>
2732
<tr><td valign=top><em>FLAC__bool</em> </td><td>
2733
<code>true</code> if successful, else <code>false</code>; in this case, check the encoder state with <a class="el" href="group__flac__seekable__stream__encoder.html#a27">FLAC__seekable_stream_encoder_get_state</a>() to see what went wrong. </td></tr>
2738
<a name="a52" doxytag="seekable_stream_encoder.h::FLAC__seekable_stream_encoder_process_interleaved"></a><p>
2739
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2742
<table cellpadding="0" cellspacing="0" border="0">
2744
<td class="md" nowrap valign="top"> FLAC__bool FLAC__seekable_stream_encoder_process_interleaved </td>
2745
<td class="md" valign="top">( </td>
2746
<td class="md" nowrap valign="top"><a class="el" href="structFLAC____SeekableStreamEncoder.html">FLAC__SeekableStreamEncoder</a> * </td>
2747
<td class="mdname" nowrap> <em>encoder</em>, </td>
2752
<td class="md" nowrap>const FLAC__int32 </td>
2753
<td class="mdname" nowrap> <em>buffer</em>[], </td>
2758
<td class="md" nowrap>unsigned </td>
2759
<td class="mdname" nowrap> <em>samples</em></td>
2763
<td class="md">) </td>
2764
<td class="md" colspan="2"></td>
2771
<table cellspacing=5 cellpadding=0 border=0>
2779
Submit data for encoding. This is inherited from <a class="el" href="structFLAC____StreamEncoder.html">FLAC__StreamEncoder</a>; see <a class="el" href="group__flac__stream__encoder.html#a51">FLAC__stream_encoder_process_interleaved</a>().<dl compact><dt><b>
2780
Parameters: </b><dd>
2781
<table border=0 cellspacing=2 cellpadding=0>
2782
<tr><td valign=top><em>encoder</em> </td><td>
2783
An initialized encoder instance in the OK state. </td></tr>
2784
<tr><td valign=top><em>buffer</em> </td><td>
2785
An array of channel-interleaved data (see above). </td></tr>
2786
<tr><td valign=top><em>samples</em> </td><td>
2787
The number of samples in one channel, the same as for <a class="el" href="group__flac__seekable__stream__encoder.html#a51">FLAC__seekable_stream_encoder_process</a>(). For example, if encoding two channels, <code>1000</code> <em>samples</em> corresponds to a <em>buffer</em> of 2000 values. </td></tr>
2789
</dl><dl compact><dt><b>
2791
<div class="fragment"><pre>encoder != NULL
2792
</pre></div> <div class="fragment"><pre><a class="code" href="seekable__stream__encoder_8h.html#a27">FLAC__seekable_stream_encoder_get_state</a>(encoder) == <a class="code" href="seekable__stream__encoder_8h.html#a53a4">FLAC__SEEKABLE_STREAM_ENCODER_OK</a>
2793
</pre></div> </dl><dl compact><dt><b>
2794
Return values: </b><dd>
2795
<table border=0 cellspacing=2 cellpadding=0>
2796
<tr><td valign=top><em>FLAC__bool</em> </td><td>
2797
<code>true</code> if successful, else <code>false</code>; in this case, check the encoder state with <a class="el" href="group__flac__seekable__stream__encoder.html#a27">FLAC__seekable_stream_encoder_get_state</a>() to see what went wrong. </td></tr>
2802
<hr><h2>Variable Documentation</h2>
2803
<a name="a0" doxytag="seekable_stream_encoder.h::FLAC__SeekableStreamEncoderStateString"></a><p>
2804
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2807
<table cellpadding="0" cellspacing="0" border="0">
2809
<td class="md" nowrap valign="top"> const char* const FLAC__SeekableStreamEncoderStateString[]
2814
<table cellspacing=5 cellpadding=0 border=0>
2822
Maps a FLAC__SeekableStreamEncoderState to a C string.
2824
Using a FLAC__SeekableStreamEncoderState as the index to this array will give the string equivalent. The contents should not be modified. </td>
2827
<a name="a1" doxytag="seekable_stream_encoder.h::FLAC__SeekableStreamEncoderSeekStatusString"></a><p>
2828
<table width="100%" cellpadding="2" cellspacing="0" border="0">
2831
<table cellpadding="0" cellspacing="0" border="0">
2833
<td class="md" nowrap valign="top"> const char* const FLAC__SeekableStreamEncoderSeekStatusString[]
2838
<table cellspacing=5 cellpadding=0 border=0>
2846
Maps a FLAC__SeekableStreamEncoderSeekStatus to a C string.
2848
Using a FLAC__SeekableStreamEncoderSeekStatus as the index to this array will give the string equivalent. The contents should not be modified. </td>
2851
<hr><address><small>Generated on Sat Jan 25 10:44:56 2003 for FLAC by
2852
<a href="http://www.doxygen.org/index.html">
2853
<img src="doxygen.gif" alt="doxygen" align="middle" border=0
2854
width=110 height=53></a>1.2.14 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
2855
© 1997-2002</small></address>