Lines Matching defs:audio_buf
229 static uint8_t *audio_buf;
488 av_free(audio_buf);
789 av_fast_malloc(&audio_buf, &allocated_audio_buf_size, audio_buf_size);
791 if (!audio_buf || !audio_out){
903 buftmp = audio_buf;
915 void *obuf[6]= {audio_buf};
925 buftmp = audio_buf;
944 av_fifo_generic_read(ost->fifo, audio_buf, frame_bytes, NULL);
949 (short *)audio_buf);
1796 av_fifo_generic_read(ost->fifo, audio_buf, fifo_bytes, NULL);
1803 generate_silence(audio_buf+fifo_bytes, enc->sample_fmt, frame_bytes - fifo_bytes);
1806 ret = avcodec_encode_audio(enc, bit_buffer, bit_buffer_size, (short *)audio_buf);