summaryrefslogtreecommitdiff
path: root/silk/API.h
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2011-10-20 00:39:41 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2011-10-20 00:39:41 -0400
commit294bfec27b82f879e3c3004d31bb91bcb34014f4 (patch)
tree94a6332cc1df41ec84b453ef76ee8118b95bfd8f /silk/API.h
parentdbf2ea841e5b022f0b6d15a606dd7288f25c35dd (diff)
downloadopus-294bfec27b82f879e3c3004d31bb91bcb34014f4.tar.gz
Implements hard CBR for SILK
This is achieved by running the encoding process in a loop and padding when we don't reach the exact rate. It also implements VBR-with-cap, which means we no longer need to artificially decrease the SILK bandwidth when it's close to the cap.
Diffstat (limited to 'silk/API.h')
-rw-r--r--silk/API.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/silk/API.h b/silk/API.h
index ca24808f..a96bd543 100644
--- a/silk/API.h
+++ b/silk/API.h
@@ -56,7 +56,7 @@ typedef struct {
/* Get size in bytes of the Silk encoder state */
/***********************************************/
opus_int silk_Get_Encoder_Size( /* O: Returns error code */
- int *encSizeBytes /* O: Number of bytes in SILK encoder state */
+ opus_int *encSizeBytes /* O: Number of bytes in SILK encoder state */
);
/*************************/
@@ -98,7 +98,7 @@ opus_int silk_Encode( /* O: Returns error c
/* Get size in bytes of the Silk decoder state */
/***********************************************/
opus_int silk_Get_Decoder_Size( /* O: Returns error code */
- int *decSizeBytes /* O: Number of bytes in SILK decoder state */
+ opus_int *decSizeBytes /* O: Number of bytes in SILK decoder state */
);
/*************************/