From bf7c1605f7ab52919708a6b5e759b08fea82a9f5 Mon Sep 17 00:00:00 2001
From: Gregory Maxwell <greg@xiph.org>
Date: Mon, 6 Aug 2012 09:24:03 -0400
Subject: [PATCH] Fix opus_encode allowed frame sizes docs, reported by Stefan
 Hacker.

---
 include/opus.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/opus.h b/include/opus.h
index 227af5e26..a1f0156fe 100644
--- a/include/opus.h
+++ b/include/opus.h
@@ -223,7 +223,7 @@ OPUS_EXPORT int opus_encoder_init(
 
 /** Encodes an Opus frame.
   * The passed frame_size must an opus frame size for the encoder's sampling rate.
-  * For example, at 48kHz the permitted values are 120, 240, 480, or 960.
+  * For example, at 48kHz the permitted values are 120, 240, 480, 960, 1920, and 2880.
   * Passing in a duration of less than 10ms (480 samples at 48kHz) will
   * prevent the encoder from using the LPC or hybrid modes.
   * @param [in] st <tt>OpusEncoder*</tt>: Encoder state
@@ -243,7 +243,7 @@ OPUS_EXPORT OPUS_WARN_UNUSED_RESULT opus_int32 opus_encode(
 
 /** Encodes an Opus frame from floating point input.
   * The passed frame_size must an opus frame size for the encoder's sampling rate.
-  * For example, at 48kHz the permitted values are 120, 240, 480, or 960.
+  * For example, at 48kHz the permitted values are 120, 240, 480, 960, 1920, and 2880.
   * Passing in a duration of less than 10ms (480 samples at 48kHz) will
   * prevent the encoder from using the LPC or hybrid modes.
   * @param [in] st <tt>OpusEncoder*</tt>: Encoder state
-- 
GitLab