Lines Matching defs:ac
669 AVCodecContext *ac = NULL, *vc = NULL;
704 ac = ctx->streams[audio_stream]->codec;
729 if( ac )
732 switch( ac->codec_id )
738 if( !ac->extradata_size ||
739 !ac->extradata )
746 memcpy(&data, ac->extradata, 1);
754 if( ac->sample_rate < 8000 ||
755 ac->sample_rate > 48000 )
758 ac->sample_rate);
762 if( ac->channels <= 2 &&
763 ac->bit_rate <= 576000 )
765 else if( ac->channels <= 6 &&
766 ac->bit_rate <= 1440000 )
770 ac->channels,
771 ac->bit_rate);
785 if ( ac->bit_rate <= 193000 )
788 else if ( ac->bit_rate <= 385000 )
801 if( (ac->codec_id >= AV_CODEC_ID_PCM_S16LE) &&
802 (ac->codec_id < AV_CODEC_ID_ADPCM_IMA_QT) )
805 DPRINTF(E_DEBUG, L_METADATA, "Unhandled audio codec [0x%X]\n", ac->codec_id);
808 m.frequency = ac->sample_rate;
809 m.channels = ac->channels;
1281 ac->codec_id, basepath);