Lines Matching refs:audio_st
44 AVStream *video_st, *audio_st; in mxg_read_header() local
55 audio_st = avformat_new_stream(s, NULL); in mxg_read_header()
56 if (!audio_st) in mxg_read_header()
58 audio_st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; in mxg_read_header()
59 audio_st->codecpar->codec_id = AV_CODEC_ID_PCM_ALAW; in mxg_read_header()
60 audio_st->codecpar->channels = 1; in mxg_read_header()
61 audio_st->codecpar->channel_layout = AV_CH_LAYOUT_MONO; in mxg_read_header()
62 audio_st->codecpar->sample_rate = 8000; in mxg_read_header()
63 audio_st->codecpar->bits_per_coded_sample = 8; in mxg_read_header()
64 audio_st->codecpar->block_align = 1; in mxg_read_header()
65 avpriv_set_pts_info(audio_st, 64, 1, 1000000); in mxg_read_header()