1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-23 06:23:49 +02:00

Update twolame to 0.3.13.

This commit is contained in:
lllucius
2013-10-24 04:32:13 +00:00
parent 99acb56af6
commit 3effa9693f
124 changed files with 44671 additions and 44430 deletions

View File

@@ -2,28 +2,35 @@
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="generator" content="AsciiDoc 7.1.2" />
<link rel="stylesheet" href="./twolame.css" type="text/css" />
<link rel="stylesheet" href="./twolame-quirks.css" type="text/css" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="generator" content="AsciiDoc 8.6.3" />
<title>The libtwolame API</title>
<link rel="stylesheet" href="./twolame.css" type="text/css" />
<script type="text/javascript">
/*<![CDATA[*/
window.onload = function(){asciidoc.footnotes();}
/*]]>*/
</script>
<script type="text/javascript" src="./asciidoc-xhtml11.js"></script>
</head>
<body>
<body class="article">
<div id="header">
<h1>The libtwolame API</h1>
<span id="revision">version 0.3.11</span>
<span id="revnumber">version 0.3.13</span>
</div>
<div id="content">
<div id="preamble">
<div class="sectionbody">
<p>This is the interface for encoding PCM audio to MPEG Audio Layer 2.</p>
<p>It is <em>very</em> similar to the libmp3lame API.</p>
<p>See simplefrontend/simplefrontend.c for a very simple application
using the API.</p>
<div class="paragraph"><p>This is the interface for encoding PCM audio to MPEG Audio Layer 2.</p></div>
<div class="paragraph"><p>It is <em>very</em> similar to the libmp3lame API.</p></div>
<div class="paragraph"><p>See simplefrontend/simplefrontend.c for a very simple application
using the API.</p></div>
</div>
</div>
<h2>Steps to encode PCM to MP2</h2>
<div class="sect1">
<h2 id="_steps_to_encode_pcm_to_mp2">Steps to encode PCM to MP2</h2>
<div class="sectionbody">
<ol>
<div class="olist arabic"><ol class="arabic">
<li>
<p>
Grab a set of default options by calling:
@@ -82,7 +89,7 @@ One frame of MPEG audio will be returned for every 1152 samples of PCM audio.
Multiple calls can be made to this function.
It is the users responsibility to:</tt></pre>
</div></div>
<ul>
<div class="ulist"><ul>
<li>
<p>
allocate the mp2buffer
@@ -99,7 +106,7 @@ read the pcmaudio from somewhere with new samples always staring from
write the mp2buffer contents to somewhere (it is overwritten with each call)
</p>
</li>
</ul>
</ul></div>
</li>
<li>
<p>
@@ -139,12 +146,15 @@ associated with this set of encoding parameters.
POST: glopts = NULL</tt></pre>
</div></div>
</li>
</ol>
</ol></div>
</div>
</div>
</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
Version 0.3.11<br />
Last updated 09-Jan-2008 11:45:17 BST
Version 0.3.13<br />
Last updated 2011-01-01 19:15:01 GMT
</div>
</div>
</body>