Skip to content

Commit 7883c17

Browse files
committed
Opus Framesize error
1 parent 28e1fab commit 7883c17

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/AudioCodecs/CodecOpus.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ setting the value.
5353
OPUS_SIGNAL_MUSIC};<br> int inband_fecs[3] = {0, 0, 1};<br> int
5454
packet_loss_perc[4] = {0, 1, 2, 5};<br> int lsb_depths[2] = {8, 24};<br> int
5555
prediction_disabled[3] = {0, 0, 1};<br> int use_dtx[2] = {0, 1};<br> int
56-
frame_sizes_ms_x2[9] = {5, 10, 20, 40, 80, 120, 160, 200, 240}; /* x2 to
57-
avoid 2.5 ms <br>
56+
frame_sizes_ms_x2[9] = {OPUS_FRAMESIZE_2_5_MS,OPUS_FRAMESIZE_5_MS,OPUS_FRAMESIZE_10_MS,OPUS_FRAMESIZE_20_MS,OPUS_FRAMESIZE_40_MS,OPUS_FRAMESIZE_60_MS,OPUS_FRAMESIZE_80_MS,OPUS_FRAMESIZE_100_MS,OPUS_FRAMESIZE_120_MS}/* x2 to avoid 2.5 ms <br>
5857
* @author Phil Schatzmann
5958
* @copyright GPLv3
6059
**/

0 commit comments

Comments
 (0)