1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct snd_enc_flac</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="The ALSA Driver API"><link rel="up" href="ch06.html#idp1095078220" title="Compress Offload API"><link rel="prev" href="API-struct-snd-enc-real.html" title="struct snd_enc_real"><link rel="next" href="API-struct-snd-compr-runtime.html" title="struct snd_compr_runtime"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct snd_enc_flac</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-snd-enc-real.html">Prev</a> </td><th width="60%" align="center">Compress Offload API</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-snd-compr-runtime.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-snd-enc-flac"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct snd_enc_flac — 2 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 3struct snd_enc_flac { 4 __u32 num; 5 __u32 gain; 6}; </pre></div><div class="refsect1"><a name="idp1095175116"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">num</span></dt><dd><p> 7 serial number, valid only for OGG formats 8 needs to be set by application 9 </p></dd><dt><span class="term">gain</span></dt><dd><p> 10 Add replay gain tags 11 </p></dd></dl></div></div><div class="refsect1"><a name="idp1095177140"></a><h2>Description</h2><p> 12 These options were extracted from the FLAC online documentation 13</p></div><div class="refsect1"><a name="idp1095177812"></a><h2>at http</h2><p> 14 //flac.sourceforge.net/documentation_tools_flac.html 15 </p><p> 16 17 To make the API simpler, it is assumed that the user will select quality 18 profiles. Additional options that affect encoding quality and speed can 19 be added at a later stage if needed. 20 </p><p> 21 22 By default the Subset format is used by encoders. 23 </p><p> 24 25 TAGS such as pictures, etc, cannot be handled by an offloaded encoder and are 26 not supported in this API. 27</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-struct-snd-enc-real.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch06.html#idp1095078220">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-snd-compr-runtime.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct snd_enc_real</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">struct snd_compr_runtime</span></td></tr></table></div></body></html> 28