Lines Matching defs:audio
86 /* Always the same, carries no more information than "this is audio" */
128 av_log(format_context, AV_LOG_ERROR, "Sega FILM allows a maximum of one audio stream.\n");
133 "Incompatible audio stream format.\n");
236 AVStream *audio = format_context->streams[film->audio_index];
237 int audio_codec = get_audio_codec_id(audio->codecpar->codec_id);
239 bytestream_put_byte(&ptr, audio->codecpar->ch_layout.nb_channels); /* Audio channels */
240 bytestream_put_byte(&ptr, audio->codecpar->bits_per_coded_sample); /* Audio bit depth */
242 bytestream_put_be16(&ptr, audio->codecpar->sample_rate); /* Audio sampling rate */
244 /* If there is no audio, all the audio fields should be set to zero.