Searched refs:samplesPerFrame (Results 1 – 9 of 9) sorted by relevance
130 uint32_t samplesPerFrame; in CalculateBufferSize() local131 FALSE_RETURN_V(meta->Get<Plugin::Tag::AUDIO_SAMPLE_PER_FRAME>(samplesPerFrame), 0); in CalculateBufferSize()139 return Pipeline::GetBytesPerSample(format) * samplesPerFrame * channels; in CalculateBufferSize()152 uint32_t samplesPerFrame = 0; in UpdateParams() local153 …if (GetPluginParameterLocked(Tag::AUDIO_SAMPLE_PER_FRAME, samplesPerFrame) != ErrorCode::SUCCESS) { in UpdateParams()155 samplesPerFrame = MAX_SAMPLE_PER_FRAME; in UpdateParams()157 FALSE_LOG_MSG(meta->Set<Plugin::Tag::AUDIO_SAMPLE_PER_FRAME>(samplesPerFrame), in UpdateParams()
124 uint32_t samplesPerFrame = 1024; in ConvertCommonAudioStreamToMetaInfo() local126 samplesPerFrame = static_cast<uint32_t>(avCodecContext->frame_size); in ConvertCommonAudioStreamToMetaInfo()128 meta.Set<Tag::AUDIO_SAMPLE_PER_FRAME>(samplesPerFrame); in ConvertCommonAudioStreamToMetaInfo()
815 int samplesPerFrame = 0; in ComputeMaxBitRateAac() local819 samplesPerFrame = PCM_CHANNEL_SAMPLES_PER_SAMPLE; in ComputeMaxBitRateAac()827 if (samplesPerFrame == 0) { in ComputeMaxBitRateAac()833 return (VALUE_OF_EIGHT * mtu * samplingFreq) / samplesPerFrame; in ComputeMaxBitRateAac()
45 uint32_t samplesPerFrame; member
128 auto samplesPerFrame = Plugin::AnyCast<uint32_t>(value); in CalculateBufferSize() local133 return GetBytesPerSample(format) * samplesPerFrame * channels; in CalculateBufferSize()
53 uint32_t samplesPerFrame; member
179 mediaInfo.tracks[0].Set<Tag::AUDIO_SAMPLE_PER_FRAME>(mp3DemuxerRst_.samplesPerFrame); in FillInMediaInfo()607 rst->samplesPerFrame = info->samples_per_frame; in AudioDemuxerMp3IterateCallbackForProbe()
590 uint32_t samplesPerFrame; /**< Number of samples per frame */ member
938 trackSource.trackSourceInfo.audioInfo.samplesPerFrame = frame; in GetAudioTrackSource()