/frameworks/ex/variablespeed/jni/ |
D | sola_time_scaler.h | 46 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,
|
D | sola_time_scaler.cc | 80 void SolaTimeScaler::Init(double sample_rate, in Init() argument 87 sample_rate_ = sample_rate; in Init()
|
/frameworks/av/media/libeffects/loudness/common/core/ |
D | basic_types.h | 104 int sample_rate(void) const; 105 void set_sample_rate(int sample_rate);
|
/frameworks/av/media/libstagefright/ |
D | MP3Extractor.cpp | 148 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()
|
D | FLACExtractor.cpp | 91 return mStreamInfo.sample_rate; in getSampleRate() 674 if (mWriteHeader.sample_rate != getSampleRate() || in readBuffer()
|
D | MPEG4Extractor.cpp | 1037 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()
|
D | AudioPlayer.cpp | 174 offloadInfo.sample_rate = mSampleRate; in start()
|
D | Utils.cpp | 730 info.sample_rate = srate; in canOffloadStream()
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyClientImplLegacy.cpp | 85 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()
|
D | AudioPolicyManager.cpp | 1009 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/ |
D | AudioPolicy.cpp | 66 mFormat.sample_rate = (uint32_t)parcel->readInt32(); in readFromParcel() 87 parcel->writeInt32(mFormat.sample_rate); in writeToParcel()
|
/frameworks/base/cmds/bootanimation/ |
D | AudioPlayer.cpp | 50 uint32_t sample_rate; member 272 config.rate = chunkFmt->sample_rate; in threadLoop()
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.cpp | 1138 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()
|
D | PatchPanel.cpp | 264 config.sample_rate = newPatch->mPlaybackThread->sampleRate(); in createAudioPatch()
|
D | Threads.cpp | 1154 config->sample_rate = mSampleRate; in getAudioPortConfig()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 547 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()
|
D | android_hardware_SoundTrigger.cpp | 218 event->audio_config.sample_rate, in onRecognitionEvent()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.cpp | 1457 offloadInfo.sample_rate = sampleRate; in onOpenAudioSink()
|