diff options
author | Gregory Maxwell <greg@xiph.org> | 2012-08-06 17:24:03 +0400 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2012-08-06 17:24:03 +0400 |
commit | bf7c1605f7ab52919708a6b5e759b08fea82a9f5 (patch) | |
tree | 59210df83eed6fddf6d83a50951e9ee34da1156f /include | |
parent | da3b5f779c77c86f92e06004633f94d4e027872a (diff) |
Fix opus_encode allowed frame sizes docs, reported by Stefan Hacker.
Diffstat (limited to 'include')
-rw-r--r-- | include/opus.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/opus.h b/include/opus.h index 227af5e2..a1f0156f 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 |