WebRtcIsac_Encode and WebRtcIsacfix_Encode: Type encoded stream as uint8_t
We have to fix both at once, since there's a macro that calls one of them or the other. BUG=909 R=andrew@webrtc.org, bjornv@webrtc.org, henrik.lundin@webrtc.org, minyue@webrtc.org Review URL: https://webrtc-codereview.appspot.com/19229004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7266 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -347,8 +347,9 @@ int16_t ACMISAC::InternalEncode(uint8_t* bitstream,
|
||||
return -1;
|
||||
}
|
||||
*bitstream_len_byte = ACM_ISAC_ENCODE(
|
||||
codec_inst_ptr_->inst, &in_audio_[in_audio_ix_read_],
|
||||
reinterpret_cast<int16_t*>(bitstream));
|
||||
codec_inst_ptr_->inst,
|
||||
&in_audio_[in_audio_ix_read_],
|
||||
bitstream);
|
||||
// increment the read index this tell the caller that how far
|
||||
// we have gone forward in reading the audio buffer
|
||||
in_audio_ix_read_ += samples_in_10ms_audio_;
|
||||
|
||||
Reference in New Issue
Block a user