Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(613)

Unified Diff: webrtc/modules/audio_coding/codecs/isac/main/interface/isac.h

Issue 1179953003: Revert "Upconvert various types to int." (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/codecs/isac/main/interface/isac.h
diff --git a/webrtc/modules/audio_coding/codecs/isac/main/interface/isac.h b/webrtc/modules/audio_coding/codecs/isac/main/interface/isac.h
index 1a83d722b41788f6bcb31eaee62110e496b22416..6d0c32deb1df7549f84728fc2da29cadcdb49db6 100644
--- a/webrtc/modules/audio_coding/codecs/isac/main/interface/isac.h
+++ b/webrtc/modules/audio_coding/codecs/isac/main/interface/isac.h
@@ -144,7 +144,7 @@ extern "C" {
* : -1 - Error
*/
- int WebRtcIsac_Encode(
+ int16_t WebRtcIsac_Encode(
ISACStruct* ISAC_main_inst,
const int16_t* speechIn,
uint8_t* encoded);
@@ -214,7 +214,7 @@ extern "C" {
* -1 - Error.
*/
- int WebRtcIsac_Decode(
+ int16_t WebRtcIsac_Decode(
ISACStruct* ISAC_main_inst,
const uint8_t* encoded,
int16_t len,
@@ -269,7 +269,7 @@ extern "C" {
int16_t WebRtcIsac_Control(
ISACStruct* ISAC_main_inst,
int32_t rate,
- int framesize);
+ int16_t framesize);
/******************************************************************************
@@ -300,7 +300,7 @@ extern "C" {
int16_t WebRtcIsac_ControlBwe(
ISACStruct* ISAC_main_inst,
int32_t rateBPS,
- int frameSizeMs,
+ int16_t frameSizeMs,
int16_t enforceFrameSize);
@@ -701,7 +701,7 @@ extern "C" {
* Return value : >0 - number of samples in decoded vector
* -1 - Error
*/
- int WebRtcIsac_DecodeRcu(
+ int16_t WebRtcIsac_DecodeRcu(
ISACStruct* ISAC_main_inst,
const uint8_t* encoded,
int16_t len,

Powered by Google App Engine
This is Rietveld 408576698