Temporarily use _Word8 to avoid clang error.

BUG=issue311
TEST=build on clang

Review URL: https://webrtc-codereview.appspot.com/415003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1788 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andrew@webrtc.org 2012-02-28 22:30:30 +00:00
parent 91b359ea9b
commit 547c157a49
2 changed files with 5 additions and 3 deletions

View File

@ -49,7 +49,7 @@ int16_t ACMCELT::DecodeSafe(uint8_t* /* bitStream */,
int16_t /* bitStreamLenByte */,
int16_t* /* audio */,
int16_t* /* audioSamples */,
int8_t* /* speechType */) {
WebRtc_Word8* /* speechType */) {
return -1;
}
@ -157,7 +157,7 @@ int16_t ACMCELT::DecodeSafe(uint8_t* /* bitStream */,
int16_t /* bitStreamLenByte */,
int16_t* /* audio */,
int16_t* /* audioSamples */,
int8_t* /* speechType */) {
WebRtc_Word8* /* speechType */) {
return 0;
}

View File

@ -39,7 +39,9 @@ class ACMCELT : public ACMGenericCodec {
int16_t /* bitStreamLenByte */,
int16_t* /* audio */,
int16_t* /* audioSamples */,
int8_t* /* speechType */);
// TODO(leozwang): use int8_t here when WebRtc_Word8 is properly typed.
// http://code.google.com/p/webrtc/issues/detail?id=311
WebRtc_Word8* /* speechType */);
int32_t CodecDef(WebRtcNetEQ_CodecDef& codecDef, const CodecInst& codecInst);