/frameworks/base/media/java/android/media/ |
D | AudioPortConfig.java | 34 private final int mSamplingRate; field in AudioPortConfig 51 mSamplingRate = samplingRate; in AudioPortConfig() 69 return mSamplingRate; in samplingRate() 97 + ", mSamplingRate:" + mSamplingRate in toString()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
D | SoftMP3.cpp | 50 mSamplingRate(44100), in SoftMP3() 159 pcmParams->nSamplingRate = mSamplingRate; in internalGetParameter() 179 mp3Params->nSampleRate = mSamplingRate; in internalGetParameter() 225 mSamplingRate = pcmParams->nSamplingRate; in internalSetParameter() 337 } else if (mConfig->samplingRate != mSamplingRate in onQueueFilled() 339 mSamplingRate = mConfig->samplingRate; in onQueueFilled() 363 mAnchorTimeUs + (mNumFramesOutput * 1000000ll) / mSamplingRate; in onQueueFilled()
|
D | SoftMP3.h | 60 int32_t mSamplingRate; member
|
/frameworks/av/include/media/ |
D | AudioIoDescriptor.h | 37 mSamplingRate(0), mFormat(AUDIO_FORMAT_DEFAULT), mChannelMask(AUDIO_CHANNEL_NONE), in AudioIoDescriptor() 61 uint32_t mSamplingRate; variable
|
D | ToneGenerator.h | 276 uint32_t mSamplingRate; // AudioFlinger Sampling rate variable
|
/frameworks/av/media/libmedia/ |
D | IAudioFlingerClient.cpp | 49 data.writeInt32(ioDesc->mSamplingRate); in ioConfigChanged() 73 ioDesc->mSamplingRate = data.readInt32(); in onTransact()
|
D | ToneGenerator.cpp | 851 if (AudioSystem::getOutputSamplingRate(&mSamplingRate, streamType) != NO_ERROR) { in ToneGenerator() 861 mProcessSize = (mSamplingRate * 20) / 1000; in ToneGenerator() 1047 if ((sec + 1) > ((long)(INT_MAX / mSamplingRate))) { in stopTone() 1048 mMaxSmp = sec * mSamplingRate; in stopTone() 1052 mMaxSmp = (unsigned int)(((int64_t)sec * mSamplingRate) / 1000); in stopTone() 1274 (lpToneGen->mNextSegSmp*1000)/lpToneGen->mSamplingRate); in audioCallback() 1282 (lpToneGen->mNextSegSmp*1000)/lpToneGen->mSamplingRate); in audioCallback() 1295 … += (lpToneDesc->segments[lpToneGen->mCurSegment].duration * lpToneGen->mSamplingRate) / 1000; in audioCallback() 1406 if (mDurationMs > (int)(TONEGEN_INF / mSamplingRate)) { in prepareWave() 1407 mMaxSmp = (mDurationMs / 1000) * mSamplingRate; in prepareWave() [all …]
|
D | AudioSystem.cpp | 278 *samplingRate = desc->mSamplingRate; in getSamplingRate() 518 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat, ioDesc->mChannelMask, in ioConfigChanged() 556 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat, in ioConfigChanged()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioInputDescriptor.cpp | 35 profile->pickAudioProfile(mSamplingRate, mChannelMask, mFormat); in AudioInputDescriptor() 173 const audio_config_base_t config = { .sample_rate = mSamplingRate, .channel_mask = mChannelMask, in getConfig() 186 snprintf(buffer, SIZE, " Sampling rate: %d\n", mSamplingRate); in dump()
|
D | AudioPort.cpp | 384 mSamplingRate = 0; in AudioPortConfig() 411 mSamplingRate = config->sample_rate; in applyAudioPortConfig() 441 dstConfig->sample_rate = mSamplingRate; in toAudioPortConfig()
|
D | DeviceDescriptor.cpp | 225 if (mSamplingRate != 0) { in toAudioPortConfig() 268 port->pickAudioProfile(mSamplingRate, mChannelMask, mFormat); in importAudioPort()
|
D | AudioOutputDescriptor.cpp | 50 port->pickAudioProfile(mSamplingRate, mChannelMask, mFormat); in AudioOutputDescriptor() 194 snprintf(buffer, SIZE, " Sampling rate: %d\n", mSamplingRate); in dump() 217 indent, mId, mId, mSamplingRate, mFormat, mChannelMask); in log()
|
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
D | SoftG711.cpp | 46 mSamplingRate(8000) { in SoftG711() 137 pcmParams->nSamplingRate = mSamplingRate; in internalGetParameter() 171 mSamplingRate = pcmParams->nSamplingRate; in internalSetParameter()
|
D | SoftG711.h | 51 int32_t mSamplingRate; member
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPort.h | 169 uint32_t mSamplingRate; variable
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 826 outputDesc->mSamplingRate = config.sample_rate; in getOutputForDevice() 896 if ((samplingRate == outputDesc->mSamplingRate) && in getOutputForDevice() 952 outputDesc->mSamplingRate, format, outputDesc->mFormat, channelMask, in getOutputForDevice() 963 outputDesc->mSamplingRate = config.sample_rate; in getOutputForDevice() 1605 inputDesc->mSamplingRate = profileSamplingRate; in getInputForDevice() 3272 config.sample_rate = outputDesc->mSamplingRate; in AudioPolicyManager() 3289 outputDesc->mSamplingRate = config.sample_rate; in AudioPolicyManager() 3344 config.sample_rate = inputDesc->mSamplingRate; in AudioPolicyManager() 3562 config.sample_rate = outputDesc->mSamplingRate; in AudioPolicyManager() 3576 outputDesc->mSamplingRate, outputDesc->mFormat, outputDesc->mChannelMask); in AudioPolicyManager() [all …]
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 68 jfieldID mSamplingRate; member 665 gAudioPortConfigFields.mSamplingRate); in convertAudioPortConfigToNative() 1839 gAudioPortConfigFields.mSamplingRate = GetFieldIDOrDie(env, audioPortConfigClass, in register_android_media_AudioSystem()
|
/frameworks/av/services/audioflinger/ |
D | Threads.cpp | 2276 desc->mSamplingRate = mSampleRate; in ioConfigChanged() 7392 desc->mSamplingRate = mSampleRate; in ioConfigChanged()
|