shithub: opus

Download patch

ref: b243dca30cda9062ad520bf28205abd4c53199b3
parent: 9e85220f21bc0bb8e4fc3437a643a03cee1247a9
author: Ralph Giles <[email protected]>
date: Fri May 24 21:23:41 EDT 2013

Wrap lookahead code example in a figure.

--- a/doc/draft-ietf-codec-oggopus.xml
+++ b/doc/draft-ietf-codec-oggopus.xml
@@ -1142,11 +1142,17 @@
 <t>
 When encoding Opus files, Ogg encoders should take into account the
  algorithmic delay of the Opus encoder.
+</t>
+<figure align="center">
+<preamble>
 In encoders derived from the reference implementation, the number of
  samples can be queried with:
-
- opus_encoder_ctl(encoder_state, OPUS_GET_LOOKAHEAD, &amp;samples_delay);
-
+</preamble>
+<artwork align="center"><![CDATA[
+ opus_encoder_ctl(encoder_state, OPUS_GET_LOOKAHEAD, &samples_delay);
+]]></artwork>
+</figure>
+<t>
 To achieve good quality in the very first samples of a stream, the Ogg encoder
  MAY use LPC extrapolation to generate at least 120 extra samples
  (extra_samples) at the beginning to avoid the Opus encoder having to encode