From 848b95d60d6d0691fba2124958a418504ef9917b Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Fri, 10 Dec 2010 17:59:49 -0500 Subject: TOC update --- doc/draft-ietf-codec-opus.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/draft-ietf-codec-opus.xml b/doc/draft-ietf-codec-opus.xml index 1c0c5dcf..f86a9548 100644 --- a/doc/draft-ietf-codec-opus.xml +++ b/doc/draft-ietf-codec-opus.xml @@ -181,11 +181,11 @@ There is thus a total of 32 configurations, encoded in 5 bits. On bit is used to 0: 1 frames in the packet 1: 2 frames in the packet, each with equal compressed size -2: arbitrary number of frames in the packet, each with equal compressed size -3: arbitrary number of frames in the packet, with different compressed sizes +2: 2 frames in the packet, with different compressed size +3: arbitrary number of frames in the packet -For codes 2 and 3, the TOC byte is followed by the number of frames in the packet. -For code 3, the byte indicating the number of frames is followed by N-1 frame +For code 2, the TOC byte is followed by the length of the first frame, encoded as described below. +For code 3, the TOC byte is followed by a byte encoding the number of frames in the packet, with the MSB indicating VBR. In the VBR case, the byte indicating the number of frames is followed by N-1 frame lengths encoded as described below. As an additional limit, the audio duration contained within a packet may not exceed 120 ms. -- cgit v1.2.3