ref: bf7c1605f7ab52919708a6b5e759b08fea82a9f5
parent: da3b5f779c77c86f92e06004633f94d4e027872a
author: Gregory Maxwell <[email protected]>
date: Mon Aug 6 05:24:03 EDT 2012
Fix opus_encode allowed frame sizes docs, reported by Stefan Hacker.
--- a/include/opus.h
+++ b/include/opus.h
@@ -223,7 +223,7 @@
/** 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 @@
/** 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