/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioProfileVectorHelper.cpp | 181 uint32_t samplingRate, in checkExact() argument 187 audioProfile->supportsRate(samplingRate)) { in checkExact() 194 uint32_t samplingRate, in checkIdentical() argument 199 audioProfile->supportsRate(samplingRate)) { in checkIdentical() 206 uint32_t samplingRate, in checkCompatibleSamplingRate() argument 209 ALOG_ASSERT(samplingRate > 0); in checkCompatibleSamplingRate() 213 updatedSamplingRate = samplingRate; in checkCompatibleSamplingRate() 220 auto desiredRate = sampleRates.lower_bound(samplingRate); in checkCompatibleSamplingRate() 224 if (*desiredRate / AUDIO_RESAMPLER_DOWN_RATIO_MAX <= samplingRate) { in checkCompatibleSamplingRate() 232 if (candidate * AUDIO_RESAMPLER_UP_RATIO_MAX >= samplingRate) { in checkCompatibleSamplingRate() [all …]
|
D | PolicyAudioPort.cpp | 81 uint32_t samplingRate = UINT_MAX; in pickSamplingRate() local 83 if ((rate < samplingRate) && (rate > 0)) { in pickSamplingRate() 84 samplingRate = rate; in pickSamplingRate() 87 pickedRate = (samplingRate == UINT_MAX) ? 0 : samplingRate; in pickSamplingRate() 214 void PolicyAudioPort::pickAudioProfile(uint32_t &samplingRate, in pickAudioProfile() argument 219 samplingRate = 0; in pickAudioProfile() 250 samplingRate = pickedSamplingRate; in pickAudioProfile() 256 asAudioPort()->getName().c_str(), samplingRate, channelMask, format); in pickAudioProfile()
|
D | IOProfile.cpp | 38 uint32_t samplingRate, in getCompatibilityScore() argument 58 (isPlaybackThread && (samplingRate == 0 || !audio_is_output_channel(channelMask))) || in getCompatibilityScore() 65 uint32_t myUpdatedSamplingRate = samplingRate; in getCompatibilityScore() 68 .sample_rate = samplingRate, in getCompatibilityScore()
|
/frameworks/base/media/java/android/media/ |
D | AudioDevicePortConfig.java | 33 AudioDevicePortConfig(AudioDevicePort devicePort, int samplingRate, int channelMask, in AudioDevicePortConfig() argument 35 super((AudioPort)devicePort, samplingRate, channelMask, format, gain); in AudioDevicePortConfig() local 39 this(config.port(), config.samplingRate(), config.channelMask(), config.format(), in AudioDevicePortConfig()
|
D | AudioPortConfig.java | 58 AudioPortConfig(AudioPort port, int samplingRate, int channelMask, int format, in AudioPortConfig() argument 61 mSamplingRate = samplingRate; in AudioPortConfig() 79 public int samplingRate() { in samplingRate() method in AudioPortConfig
|
D | AudioMixPortConfig.java | 33 AudioMixPortConfig(AudioMixPort mixPort, int samplingRate, int channelMask, int format, in AudioMixPortConfig() argument 35 super((AudioPort)mixPort, samplingRate, channelMask, format, gain); in AudioMixPortConfig() local
|
D | AudioMixPort.java | 57 public AudioMixPortConfig buildConfig(int samplingRate, int channelMask, int format, in buildConfig() argument 59 return new AudioMixPortConfig(this, samplingRate, channelMask, format, gain); in buildConfig()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioProfileVectorHelper.h | 54 const uint32_t samplingRate, 71 const uint32_t samplingRate, 76 uint32_t &samplingRate,
|
D | PolicyAudioPort.h | 69 status_t checkCompatibleAudioProfile(uint32_t &samplingRate, in checkCompatibleAudioProfile() argument 74 asAudioPort()->getAudioProfiles(), samplingRate, channelMask, format, in checkCompatibleAudioProfile() 78 void pickAudioProfile(uint32_t &samplingRate, 110 const uint32_t samplingRate,
|
/frameworks/av/media/codec2/components/mp3/ |
D | C2SoftMp3Dec.cpp | 405 int32_t samplingRate = mConfig->samplingRate; in process() local 437 } else if (mConfig->samplingRate != samplingRate in process() 440 samplingRate, mConfig->samplingRate, in process() 442 samplingRate = mConfig->samplingRate; in process() 445 C2StreamSampleRateInfo::output sampleRateInfo(0u, samplingRate); in process() 497 if (samplingRate && numChannels) { in process() 498 int64_t outTimeStamp = mProcessedSamples * 1000000ll / samplingRate; in process()
|
/frameworks/av/services/audioflinger/afutils/ |
D | BufLog.cpp | 66 int samplingRate, size_t maxBytes, const void *buf, size_t size) { in write() argument 74 samplingRate, maxBytes); in write() 101 unsigned int samplingRate, in BufLogStream() argument 103 mSamplingRate(samplingRate), mMaxBytes(maxBytes) { in BufLogStream()
|
D | BufLog.h | 119 unsigned int samplingRate, 172 int samplingRate,
|
/frameworks/av/media/libeffects/preprocessing/ |
D | PreProcessing.cpp | 111 uint32_t samplingRate; // sampling rate at effect process interface member 851 session->samplingRate = kPreprocDefaultSr; in Session_CreateEffect() 898 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate || in Session_SetConfig() 904 ALOGV("Session_SetConfig sr %d cnl %08x", config->inputCfg.samplingRate, in Session_SetConfig() 907 session->samplingRate = config->inputCfg.samplingRate; in Session_SetConfig() 908 session->frameCount = session->samplingRate / 100; in Session_SetConfig() 911 session->inputConfig.set_sample_rate_hz(session->samplingRate); in Session_SetConfig() 913 session->outputConfig.set_sample_rate_hz(session->samplingRate); in Session_SetConfig() 917 session->revConfig.set_sample_rate_hz(session->samplingRate); in Session_SetConfig() 926 config->inputCfg.samplingRate = config->outputCfg.samplingRate = session->samplingRate; in Session_GetConfig() [all …]
|
/frameworks/av/media/libeffects/downmix/tests/ |
D | downmixtest.cpp | 73 pConfig->inputCfg.samplingRate = 44100; in DownmixDefaultConfig() 74 pConfig->outputCfg.samplingRate = pConfig->inputCfg.samplingRate; in DownmixDefaultConfig() 235 descriptor.config.inputCfg.samplingRate = samplingFreq; in main() 236 descriptor.config.outputCfg.samplingRate = samplingFreq; in main()
|
/frameworks/base/media/java/android/media/audiofx/ |
D | Visualizer.java | 615 void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform, int samplingRate); in onWaveFormDataCapture() argument 629 void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate); in onFftDataCapture() argument 774 int what, int samplingRate, byte[] data) { in postEventFromNative() argument 794 l.onWaveFormDataCapture(visualizer, data, samplingRate); in postEventFromNative() 796 l.onFftDataCapture(visualizer, data, samplingRate); in postEventFromNative()
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | VisualizerInstanceSync.java | 150 int samplingRate) { 153 + " smp rate: " + samplingRate / 1000); 161 public void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate) {
|
/frameworks/av/media/libeffects/tests/common/ |
D | EffectTestHelper.cpp | 33 config.inputCfg.samplingRate = config.outputCfg.samplingRate = mSampleRate; in setConfig()
|
/frameworks/av/media/libeffects/loudness/ |
D | EffectLoudnessEnhancer.cpp | 97 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); in LE_reset() 121 if (pConfig->inputCfg.samplingRate != pConfig->outputCfg.samplingRate) return -EINVAL; in LE_setConfig() 176 pContext->mConfig.inputCfg.samplingRate = 44100; in LE_init() 184 pContext->mConfig.outputCfg.samplingRate = 44100; in LE_init() 196 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); in LE_init()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioIoDescriptor.h | 54 uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, 58 mSamplingRate(samplingRate), mFormat(format), mChannelMask(channelMask), in mIoHandle()
|
/frameworks/av/media/module/codecs/mp3dec/test/ |
D | Mp3DecoderTest.cpp | 133 ASSERT_EQ(sfInfo.samplerate, mConfig->samplingRate) << "Sample rate does not match"; in TEST_P() 161 ASSERT_EQ(sfInfo.samplerate, mConfig->samplingRate) << "Sample rate does not match"; in TEST_P() 168 ASSERT_EQ(sfInfo.samplerate, mConfig->samplingRate) << "Sample rate does not match"; in TEST_P()
|
/frameworks/av/media/libeffects/dynamicsproc/dsp/ |
D | DPFrequency.h | 103 unsigned int samplingRate, DPBase &dpBase); 127 void configure(size_t blockSize, size_t overlapSize, size_t samplingRate);
|
/frameworks/av/media/libeffects/lvm/benchmarks/ |
D | lvm_benchmark.cpp | 184 config.inputCfg.samplingRate = config.outputCfg.samplingRate = kSampleRate; in BM_LVM()
|
/frameworks/av/media/libeffects/hapticgenerator/ |
D | EffectHapticGenerator.cpp | 132 context->config.inputCfg.samplingRate = 0; in HapticGenerator_Init() 140 context->config.outputCfg.samplingRate = 0; in HapticGenerator_Init() 261 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate || in HapticGenerator_Configure() 291 config->inputCfg.samplingRate, in HapticGenerator_Configure() 360 context->config.inputCfg.samplingRate)); in HapticGenerator_SetParameter() 367 context->config.inputCfg.samplingRate)); in HapticGenerator_SetParameter()
|
/frameworks/av/media/libeffects/preprocessing/tests/ |
D | EffectTestHelper.cpp | 32 config.inputCfg.samplingRate = config.outputCfg.samplingRate = mSampleRate; in setConfig()
|
/frameworks/av/media/module/codecserviceregistrant/fuzzer/ |
D | README.md | 14 4. SamplingRate (parameter name: `samplingRate`) 23 | `samplingRate` |`UINT32_MIN` to `UINT32_MAX` | Value obtained from FuzzedDataProvider|
|