Home
last modified time | relevance | path

Searched refs:mSamplingRate (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioPortConfig.java38 private final int mSamplingRate; field in AudioPortConfig
60 mSamplingRate = samplingRate; in AudioPortConfig()
79 return mSamplingRate; in samplingRate()
106 + ", mSamplingRate:" + mSamplingRate in toString()
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp50 mSamplingRate(44100), in SoftMP3()
183 pcmParams->nSamplingRate = mSamplingRate; in internalGetParameter()
203 mp3Params->nSampleRate = mSamplingRate; in internalGetParameter()
272 mSamplingRate = pcmParams->nSamplingRate; in internalSetParameter()
398 } else if (mConfig->samplingRate != mSamplingRate in onQueueFilled()
400 mSamplingRate = mConfig->samplingRate; in onQueueFilled()
424 mAnchorTimeUs + (mNumFramesOutput * 1000000LL) / mSamplingRate; in onQueueFilled()
DSoftMP3.h60 int32_t mSamplingRate; member
/frameworks/av/media/libaudioclient/include/media/
DAudioIoDescriptor.h40 mSamplingRate(0), mFormat(AUDIO_FORMAT_DEFAULT), mChannelMask(AUDIO_CHANNEL_NONE), in AudioIoDescriptor()
64 uint32_t mSamplingRate; variable
DToneGenerator.h298 uint32_t mSamplingRate; // AudioFlinger Sampling rate variable
/frameworks/av/services/audioflinger/
DBufLog.cpp117 mSamplingRate(samplingRate), mMaxBytes(maxBytes) { in BufLogStream()
126 mFormat, mChannels, mSamplingRate, mMaxBytes); in BufLogStream()
138 mId, mTag, mFormat, mChannels, mSamplingRate); in BufLogStream()
DBufLog.h143 const unsigned int mSamplingRate; variable
DThreads.cpp2636 desc->mSamplingRate = mSampleRate; in ioConfigChanged()
8397 desc->mSamplingRate = mSampleRate; in ioConfigChanged()
9154 desc->mSamplingRate = mSampleRate; in ioConfigChanged()
/frameworks/av/media/libaudioclient/
DIAudioFlingerClient.cpp49 data.writeInt32(ioDesc->mSamplingRate); in ioConfigChanged()
74 ioDesc->mSamplingRate = data.readInt32(); in onTransact()
DAudioSystem.cpp317 *samplingRate = desc->mSamplingRate; in getSamplingRate()
563 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat, ioDesc->mChannelMask, in ioConfigChanged()
601 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat, in ioConfigChanged()
/frameworks/av/media/libaudiofoundation/
DAudioPort.cpp155 mSamplingRate = config->sample_rate; in applyAudioPortConfig()
195 updateField(mSamplingRate, &audio_port_config::sample_rate, in toAudioPortConfig()
234 mSamplingRate == other->getSamplingRate() && in equals()
249 if ((status = parcel->writeUint32(mSamplingRate)) != NO_ERROR) return status; in writeToParcel()
266 if ((status = parcel->readUint32(&mSamplingRate)) != NO_ERROR) return status; in readFromParcel()
DDeviceDescriptorBase.cpp52 if (mSamplingRate != 0) { in toAudioPortConfig()
/frameworks/av/media/libeffects/dynamicsproc/dsp/
DDPFrequency.h106 unsigned int mSamplingRate;
144 size_t mSamplingRate; variable
DDPFrequency.cpp59 mSamplingRate = samplingRate; in initBuffers()
94 bp.binStop = (int)(0.5 + bp.freqCutoffHz * mBlockSize / mSamplingRate); in computeBinStartStop()
156 mSamplingRate = samplingRate; in configure()
160 mSamplingRate, *this); in configure()
164 mBlocksPerSecond = (float)mSamplingRate / (mBlockSize - mOverlapSize); in configure()
/frameworks/av/media/libaudiofoundation/include/media/
DAudioPort.h111 unsigned int getSamplingRate() const { return mSamplingRate; } in getSamplingRate()
124 unsigned int mSamplingRate = 0u;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp46 mPolicyAudioPort->pickAudioProfile(mSamplingRate, mChannelMask, mFormat); in AudioOutputDescriptor()
55 const audio_config_base_t config = { .sample_rate = mSamplingRate, .channel_mask = mChannelMask, in getConfig()
245 dst->appendFormat(" Sampling rate: %d\n", mSamplingRate); in dump()
274 indent, mId, mId, mSamplingRate, mFormat, mChannelMask); in log()
488 lConfig.sample_rate = mSamplingRate; in open()
528 mSamplingRate = lConfig.sample_rate; in open()
621 mSamplingRate = output2->mSamplingRate; in openDuplicating()
DAudioInputDescriptor.cpp36 profile->pickAudioProfile(mSamplingRate, mChannelMask, mFormat); in AudioInputDescriptor()
204 const audio_config_base_t config = { .sample_rate = mSamplingRate, .channel_mask = mChannelMask, in getConfig()
218 lConfig.sample_rate = mSamplingRate; in open()
247 mSamplingRate = lConfig.sample_rate; in open()
516 dst->appendFormat(" Sampling rate: %d\n", mSamplingRate); in dump()
DDeviceDescriptor.cpp168 policyPort->pickAudioProfile(mSamplingRate, mChannelMask, mFormat); in importAudioPortAndPickAudioProfile()
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp48 mSamplingRate(8000) { in SoftG711()
163 pcmParams->nSamplingRate = mSamplingRate; in internalGetParameter()
197 mSamplingRate = pcmParams->nSamplingRate; in internalSetParameter()
DSoftG711.h51 int32_t mSamplingRate; member
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp87 jfieldID mSamplingRate; member
868 gAudioPortConfigFields.mSamplingRate); in convertAudioPortConfigToNative()
2624 gAudioPortConfigFields.mSamplingRate = GetFieldIDOrDie(env, audioPortConfigClass, in register_android_media_AudioSystem()