Home
last modified time | relevance | path

Searched refs:sample_rate (Results 1 – 18 of 18) sorted by relevance

/frameworks/ex/variablespeed/jni/
Dsola_time_scaler.h46 void Init(int sample_rate, int num_channels) { in Init() argument
47 sample_rate_ = sample_rate; in Init()
89 void Init(double sample_rate, int num_channels, double initial_speed,
Dsola_time_scaler.cc80 void SolaTimeScaler::Init(double sample_rate, in Init() argument
87 sample_rate_ = sample_rate; in Init()
/frameworks/av/media/libeffects/loudness/common/core/
Dbasic_types.h104 int sample_rate(void) const;
105 void set_sample_rate(int sample_rate);
/frameworks/av/media/libstagefright/
DMP3Extractor.cpp148 int sample_rate, num_channels, bitrate; in Resync() local
151 &sample_rate, &num_channels, &bitrate)) { in Resync()
287 int sample_rate; in MP3Extractor() local
291 header, &frame_size, &sample_rate, &num_channels, &bitrate); in MP3Extractor()
311 mMeta->setInt32(kKeySampleRate, sample_rate); in MP3Extractor()
515 int sample_rate; in read() local
529 header, &frame_size, &sample_rate, NULL, in read()
577 mCurrentTimeUs = mBasisTimeUs + ((mSamplesRead * 1000000) / sample_rate); in read()
DFLACExtractor.cpp91 return mStreamInfo.sample_rate; in getSampleRate()
674 if (mWriteHeader.sample_rate != getSampleRate() || in readBuffer()
DMPEG4Extractor.cpp1037 uint32_t sample_rate = 0; in parseChunk() local
1038 if (AdjustChannelsAndRate(original_fourcc, &num_channels, &sample_rate)) { in parseChunk()
1040 mLastTrack->meta->setInt32(kKeySampleRate, sample_rate); in parseChunk()
1308 uint32_t sample_rate = U32_AT(&buffer[24]) >> 16; in parseChunk() local
1313 AdjustChannelsAndRate(chunk_type, &num_channels, &sample_rate); in parseChunk()
1316 chunk, num_channels, sample_size, sample_rate); in parseChunk()
1318 mLastTrack->meta->setInt32(kKeySampleRate, sample_rate); in parseChunk()
DAudioPlayer.cpp174 offloadInfo.sample_rate = mSampleRate; in start()
DUtils.cpp730 info.sample_rate = srate; in canOffloadStream()
/frameworks/av/services/audiopolicy/
DAudioPolicyClientImplLegacy.cpp85 config.sample_rate = *pSamplingRate; in open_output()
95 *pSamplingRate = config.sample_rate; in open_output()
199 config.sample_rate = *pSamplingRate; in open_input()
206 *pSamplingRate = config.sample_rate; in open_input()
DAudioPolicyManager.cpp1009 config.sample_rate = mTestSamplingRate; in getOutputForDevice()
1023 outputDesc->mSamplingRate = config.sample_rate; in getOutputForDevice()
1103 config.sample_rate = samplingRate; in getOutputForDevice()
1119 (samplingRate != 0 && samplingRate != config.sample_rate) || in getOutputForDevice()
1135 outputDesc->mSamplingRate = config.sample_rate; in getOutputForDevice()
1574 config.sample_rate = samplingRate; in getInputForAttr()
1588 (samplingRate != config.sample_rate) || in getInputForAttr()
2342 offloadInfo.sample_rate, offloadInfo.channel_mask, in isOffloadSupported()
2394 offloadInfo.sample_rate, in isOffloadSupported()
2639 patch->sources[0].sample_rate, in createAudioPatch()
[all …]
/frameworks/av/media/libmedia/
DAudioPolicy.cpp66 mFormat.sample_rate = (uint32_t)parcel->readInt32(); in readFromParcel()
87 parcel->writeInt32(mFormat.sample_rate); in writeToParcel()
/frameworks/base/cmds/bootanimation/
DAudioPlayer.cpp50 uint32_t sample_rate; member
272 config.rate = chunkFmt->sample_rate; in threadLoop()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp1138 config.sample_rate = sampleRate; in getInputBufferSize()
1744 config->sample_rate, in openOutput_l()
1783 config->sample_rate, in openOutput()
1811 mPrimaryOutputSampleRate = config->sample_rate; in openOutput()
1997 halconfig.sample_rate, in openInput_l()
2008 (halconfig.sample_rate <= 2 * config->sample_rate) && in openInput_l()
2030 NBAIO_Format format = Format_from_SR_C(halconfig.sample_rate, in openInput_l()
DPatchPanel.cpp264 config.sample_rate = newPatch->mPlaybackThread->sampleRate(); in createAudioPatch()
DThreads.cpp1154 config->sample_rate = mSampleRate; in getAudioPortConfig()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp547 nAudioPortConfig->sample_rate = env->GetIntField(jAudioPortConfig, in convertAudioPortConfigToNative()
549 if (nAudioPortConfig->sample_rate != 0) { in convertAudioPortConfigToNative()
755 nAudioPortConfig->sample_rate, in convertAudioPortConfigFromNative()
1381 nAudioMix->mFormat.sample_rate = env->GetIntField(jFormat, in convertAudioMixToNative()
Dandroid_hardware_SoundTrigger.cpp218 event->audio_config.sample_rate, in onRecognitionEvent()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp1457 offloadInfo.sample_rate = sampleRate; in onOpenAudioSink()