/external/qemu/distrib/sdl-1.2.15/src/audio/ |
SDL_audio.c | 129 int stream_len; local 150 stream_len = audio->convert.len; 153 stream_len = audio->spec.size; 194 SDL_memset(stream, silence, stream_len); 198 (*fill)(udata, stream, stream_len);
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
isacfix.c | 310 WebRtc_Word16 stream_len; local 325 stream_len = WebRtcIsacfix_EncodeImpl((WebRtc_Word16*)speechIn, 329 if (stream_len<0) { 330 ISAC_inst->errorcode = - stream_len; 337 for (k=0;k<(stream_len+1)>>1;k++) { 343 WEBRTC_SPL_MEMCPY_W16(encoded, (ISAC_inst->ISACenc_obj.bitstr_obj).stream, (stream_len + 1)>>1); 348 return stream_len; 385 WebRtc_Word16 stream_len; local 415 stream_len = WebRtcIsacfix_EncodeImpl((WebRtc_Word16*)speechInWB, 419 if (stream_len<0) 468 WebRtc_Word16 stream_len; local [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/ |
test_iSACfixfloat.c | 112 WebRtc_Word16 stream_len = 0; local 442 stream_len = WebRtcIsac_Encode(ISAC_main_inst, shortdata, streamdata); 443 if (stream_len < 0) { 452 stream_len = WebRtcIsacfix_Encode(ISACFIX_main_inst, shortdata, streamdata); 454 stream_len = WebRtcIsacfix_EncodeNb(ISACFIX_main_inst, shortdata, streamdata); 456 if (stream_len < 0) { 482 if (stream_len != 0) break; 485 fwrite(streamdata, 1, stream_len, bitsp); /* NOTE! Writes bytes to file */ 488 get_arrival_time(cur_framesmpls, stream_len, bottleneck, 495 stream_len, [all...] |
kenny.c | 109 WebRtc_Word16 stream_len = 0; local 575 stream_len = WebRtcIsacfix_Encode(ISAC_main_inst, 581 if (stream_len>0) { 584 stream_len = WebRtcIsacfix_GetNewBitStream( 613 stream_len = WebRtcIsacfix_EncodeNb(ISAC_main_inst, 617 stream_len = -1; 626 if (stream_len < 0 || err < 0) { 632 stream_len, outbits) != (size_t)stream_len) { 656 if (stream_len != 0) break [all...] |