/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioProfile.cpp | 31 status_t AudioProfile::checkExact(uint32_t samplingRate, audio_channel_mask_t channelMask, in checkExact() argument 36 supportsRate(samplingRate)) { in checkExact() 63 status_t AudioProfile::checkCompatibleSamplingRate(uint32_t samplingRate, in checkCompatibleSamplingRate() argument 66 ALOG_ASSERT(samplingRate > 0); in checkCompatibleSamplingRate() 69 updatedSamplingRate = samplingRate; in checkCompatibleSamplingRate() 76 size_t orderOfDesiredRate = mSamplingRates.orderOf(samplingRate); in checkCompatibleSamplingRate() 81 if (candidate / AUDIO_RESAMPLER_DOWN_RATIO_MAX <= samplingRate) { in checkCompatibleSamplingRate() 89 if (candidate * AUDIO_RESAMPLER_UP_RATIO_MAX >= samplingRate) { in checkCompatibleSamplingRate() 228 status_t AudioProfileVector::checkExactProfile(uint32_t samplingRate, in checkExactProfile() argument 238 if (profile->checkExact(samplingRate, channelMask, format) == NO_ERROR) { in checkExactProfile() [all …]
|
D | IOProfile.cpp | 32 uint32_t samplingRate, in isCompatibleProfile() argument 59 (isPlaybackThread && (samplingRate == 0 || !audio_is_output_channel(channelMask))) || in isCompatibleProfile() 66 uint32_t myUpdatedSamplingRate = samplingRate; in isCompatibleProfile() 74 if (checkExactAudioProfile(samplingRate, channelMask, format) != NO_ERROR) { in isCompatibleProfile()
|
D | AudioPort.cpp | 161 uint32_t samplingRate = UINT_MAX; in pickSamplingRate() local 163 if ((samplingRates[i] < samplingRate) && (samplingRates[i] > 0)) { in pickSamplingRate() 164 samplingRate = samplingRates[i]; in pickSamplingRate() 167 pickedRate = (samplingRate == UINT_MAX) ? 0 : samplingRate; in pickSamplingRate() 299 void AudioPort::pickAudioProfile(uint32_t &samplingRate, in pickAudioProfile() argument 304 samplingRate = 0; in pickAudioProfile() 334 samplingRate = pickedSamplingRate; in pickAudioProfile() 340 samplingRate, channelMask, format); in pickAudioProfile()
|
/frameworks/base/media/java/android/media/ |
D | AudioDevicePortConfig.java | 29 AudioDevicePortConfig(AudioDevicePort devicePort, int samplingRate, int channelMask, in AudioDevicePortConfig() argument 31 super((AudioPort)devicePort, samplingRate, channelMask, format, gain); in AudioDevicePortConfig() local 35 this(config.port(), config.samplingRate(), config.channelMask(), config.format(), in AudioDevicePortConfig()
|
D | AudioPortConfig.java | 48 AudioPortConfig(AudioPort port, int samplingRate, int channelMask, int format, in AudioPortConfig() argument 51 mSamplingRate = samplingRate; in AudioPortConfig() 68 public int samplingRate() { in samplingRate() method in AudioPortConfig
|
D | AudioMixPortConfig.java | 29 AudioMixPortConfig(AudioMixPort mixPort, int samplingRate, int channelMask, int format, in AudioMixPortConfig() argument 31 super((AudioPort)mixPort, samplingRate, channelMask, format, gain); in AudioMixPortConfig() local
|
D | AudioMixPort.java | 45 public AudioMixPortConfig buildConfig(int samplingRate, int channelMask, int format, in buildConfig() argument 47 return new AudioMixPortConfig(this, samplingRate, channelMask, format, gain); in buildConfig()
|
D | AudioDevicePort.java | 76 public AudioDevicePortConfig buildConfig(int samplingRate, int channelMask, int format, in buildConfig() argument 78 return new AudioDevicePortConfig(this, samplingRate, channelMask, format, gain); in buildConfig()
|
D | AudioPort.java | 182 public AudioPortConfig buildConfig(int samplingRate, int channelMask, int format, in buildConfig() argument 184 return new AudioPortConfig(this, samplingRate, channelMask, format, gain); in buildConfig()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPort.h | 86 status_t checkExactAudioProfile(uint32_t samplingRate, in checkExactAudioProfile() argument 90 return mProfiles.checkExactProfile(samplingRate, channelMask, format); in checkExactAudioProfile() 95 status_t checkCompatibleAudioProfile(uint32_t &samplingRate, in checkCompatibleAudioProfile() argument 99 return mProfiles.checkCompatibleProfile(samplingRate, channelMask, format, mType, mRole); in checkCompatibleAudioProfile() 106 void pickAudioProfile(uint32_t &samplingRate,
|
D | AudioProfile.h | 41 uint32_t samplingRate) : in AudioProfile() argument 46 mSamplingRates.add(samplingRate); in AudioProfile() 104 status_t checkCompatibleSamplingRate(uint32_t samplingRate, 197 status_t checkExactProfile(uint32_t samplingRate, audio_channel_mask_t channelMask, 200 status_t checkCompatibleProfile(uint32_t &samplingRate, audio_channel_mask_t &channelMask,
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
D | tns_param.h | 32 Word32 samplingRate; member 50 void GetTnsMaxBands(Word32 samplingRate, Word16 blockType, Word16* tnsMaxSfb);
|
/frameworks/av/services/audioflinger/ |
D | BufLog.cpp | 75 int samplingRate, size_t maxBytes, const void *buf, size_t size) { in write() argument 83 samplingRate, maxBytes); in write() 114 unsigned int samplingRate, in BufLogStream() argument 116 mSamplingRate(samplingRate), mMaxBytes(maxBytes) { in BufLogStream()
|
D | BufLog.h | 119 unsigned int samplingRate, 174 int samplingRate,
|
/frameworks/av/media/libeffects/preprocessing/ |
D | PreProcessing.cpp | 109 uint32_t samplingRate; // sampling rate at effect process interface member 855 session->samplingRate = kPreprocDefaultSr; in Session_CreateEffect() 940 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate || in Session_SetConfig() 947 config->inputCfg.samplingRate, config->inputCfg.channels); in Session_SetConfig() 951 if (config->inputCfg.samplingRate >= 32000 && !(session->createdMsk & (1 << PREPROC_AEC))) { in Session_SetConfig() 954 if (config->inputCfg.samplingRate >= 16000) { in Session_SetConfig() 956 } else if (config->inputCfg.samplingRate >= 8000) { in Session_SetConfig() 970 session->samplingRate = config->inputCfg.samplingRate; in Session_SetConfig() 972 if (session->samplingRate == session->apmSamplingRate) { in Session_SetConfig() 975 session->frameCount = (session->apmFrameCount * session->samplingRate) / in Session_SetConfig() [all …]
|
/frameworks/base/media/java/android/media/audiofx/ |
D | Visualizer.java | 555 void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform, int samplingRate); in onWaveFormDataCapture() argument 566 void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate); in onFftDataCapture() argument 666 int samplingRate = msg.arg1; in handleCaptureMessage() local 670 l.onWaveFormDataCapture(mVisualizer, data, samplingRate); in handleCaptureMessage() 673 l.onFftDataCapture(mVisualizer, data, samplingRate); in handleCaptureMessage()
|
/frameworks/av/media/libeffects/loudness/ |
D | EffectLoudnessEnhancer.cpp | 77 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); in LE_reset() 108 if (pConfig->inputCfg.samplingRate != pConfig->outputCfg.samplingRate) return -EINVAL; in LE_setConfig() 163 pContext->mConfig.inputCfg.samplingRate = 44100; in LE_init() 171 pContext->mConfig.outputCfg.samplingRate = 44100; in LE_init() 183 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); in LE_init()
|
/frameworks/base/media/java/android/media/tv/ |
D | ITvInputHardware.aidl | 62 void overrideAudioSink(int audioType, String audioAddress, int samplingRate, int channelMask, in overrideAudioSink() argument
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaVisualizerTest.java | 138 int samplingRate = mVisualizer.getSamplingRate(); in test1_0CaptureRates() local 140 samplingRate >= MIN_SAMPLING_RATE && samplingRate <= MAX_SAMPLING_RATE); in test1_0CaptureRates() 584 Visualizer visualizer, byte[] waveform, int samplingRate) { in createListenerLooper() 596 Visualizer visualizer, byte[] fft, int samplingRate) { in createListenerLooper()
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | VisualizerTest.java | 148 … public void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform, int samplingRate) { 151 … Log.d(TAG, "onWaveFormDataCapture(): "+waveform[0]+" smp rate: "+samplingRate/1000); 158 public void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate) {
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 107 uint32_t samplingRate, 445 uint32_t& samplingRate, 450 uint32_t samplingRate, 631 uint32_t samplingRate, 642 uint32_t samplingRate,
|
/frameworks/av/media/libeffects/testlibs/ |
D | EffectEqualizer.cpp | 233 CHECK_ARG(pConfig->inputCfg.samplingRate == pConfig->outputCfg.samplingRate); in Equalizer_setConfig() 253 pConfig->inputCfg.samplingRate); in Equalizer_setConfig() 310 pContext->config.inputCfg.samplingRate = 44100; in Equalizer_init() 318 pContext->config.outputCfg.samplingRate = 44100; in Equalizer_init()
|
/frameworks/av/media/libeffects/visualizer/ |
D | EffectVisualizer.cpp | 143 if (pConfig->inputCfg.samplingRate != pConfig->outputCfg.samplingRate) return -EINVAL; in Visualizer_setConfig() 196 pContext->mConfig.inputCfg.samplingRate = 44100; in Visualizer_init() 204 pContext->mConfig.outputCfg.samplingRate = 44100; in Visualizer_init() 588 + pContext->mConfig.inputCfg.samplingRate * latencyMs / 1000; in Visualizer_command()
|
/frameworks/wilhelm/src/itf/ |
D | IAudioIODeviceCapabilities.cpp | 261 SLAudioIODeviceCapabilitiesItf self, SLuint32 deviceID, SLmilliHertz samplingRate, in IAudioIODeviceCapabilities_QuerySampleFormatsSupported() argument 274 switch (samplingRate) { in IAudioIODeviceCapabilities_QuerySampleFormatsSupported()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/include/ |
D | pvmp3decoder_api.h | 196 int32 samplingRate; member
|