Add const qualifier to WebRtcPcm16b_Encode
BUG=909 R=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/28199004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7831 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -54,9 +54,9 @@ int16_t WebRtcPcm16b_EncodeW16(const int16_t* speechIn16b,
|
||||
* Returned value : Size in bytes of speech8b
|
||||
*/
|
||||
|
||||
int16_t WebRtcPcm16b_Encode(int16_t *speech16b,
|
||||
int16_t WebRtcPcm16b_Encode(const int16_t* speech16b,
|
||||
int16_t len,
|
||||
unsigned char *speech8b);
|
||||
unsigned char* speech8b);
|
||||
|
||||
/****************************************************************************
|
||||
* WebRtcPcm16b_DecodeW16(...)
|
||||
|
||||
@ -41,7 +41,7 @@ int16_t WebRtcPcm16b_EncodeW16(const int16_t* speechIn16b,
|
||||
|
||||
|
||||
/* Encoder with char Output (old version) */
|
||||
int16_t WebRtcPcm16b_Encode(int16_t *speech16b,
|
||||
int16_t WebRtcPcm16b_Encode(const int16_t *speech16b,
|
||||
int16_t len,
|
||||
unsigned char *speech8b)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user