Lines Matching refs:audio_st
42 AVStream *video_st, *audio_st;
53 audio_st = avformat_new_stream(s, NULL);
54 if (!audio_st)
56 audio_st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
57 audio_st->codec->codec_id = CODEC_ID_PCM_ALAW;
58 audio_st->codec->channels = 1;
59 audio_st->codec->sample_rate = 8000;
60 audio_st->codec->bits_per_coded_sample = 8;
61 audio_st->codec->block_align = 1;
62 avpriv_set_pts_info(audio_st, 64, 1, 1000000);