samples_per_packet 149 libavformat/cafenc.c frame_size = samples_per_packet(enc->codec_id, enc->channels, enc->block_align); samples_per_packet 262 libavformat/cafenc.c avio_wb64(pb, caf->packets * samples_per_packet(enc->codec_id, enc->channels, enc->block_align)); ///< mNumberValidFrames