/frameworks/av/libvideoeditor/lvpp/ |
D | DummyAudioSource.cpp | 32 int32_t samplingRate, int32_t channelCount, in Create() argument 36 return new DummyAudioSource(samplingRate, in Create() 44 int32_t samplingRate, int32_t channelCount, in DummyAudioSource() argument 46 : mSamplingRate(samplingRate), in DummyAudioSource() 59 ALOGV("samplingRate = %d", samplingRate); in DummyAudioSource()
|
D | DummyAudioSource.h | 32 int32_t samplingRate, int32_t channelCount, 60 int32_t samplingRate, int32_t channelCount,
|
/frameworks/av/include/media/ |
D | AudioSystem.h | 88 …static status_t getOutputSamplingRate(int* samplingRate, audio_stream_type_t stream = AUDIO_STREAM… 93 int* samplingRate); 106 static status_t getOutputSamplingRate(int* samplingRate, int stream = AUDIO_STREAM_DEFAULT); 152 : samplingRate(0), format(AUDIO_FORMAT_DEFAULT), channels(0), frameCount(0), latency(0) {} in OutputDescriptor() 154 uint32_t samplingRate; variable 189 uint32_t samplingRate = 0, 201 uint32_t samplingRate = 0,
|
D | IAudioPolicyService.h | 52 uint32_t samplingRate = 0, 64 uint32_t samplingRate = 0,
|
/frameworks/av/media/libmedia/ |
D | AudioSystem.cpp | 209 status_t AudioSystem::getOutputSamplingRate(int* samplingRate, int streamType) { in getOutputSamplingRate() argument 210 return getOutputSamplingRate(samplingRate, (audio_stream_type_t)streamType); in getOutputSamplingRate() 213 status_t AudioSystem::getOutputSamplingRate(int* samplingRate, audio_stream_type_t streamType) in getOutputSamplingRate() argument 226 return getSamplingRate(output, streamType, samplingRate); in getOutputSamplingRate() 231 int* samplingRate) in getSamplingRate() argument 242 *samplingRate = af->sampleRate(output); in getSamplingRate() 245 *samplingRate = outputDesc->samplingRate; in getSamplingRate() 249 …"getSamplingRate() streamType %d, output %d, sampling rate %d", streamType, output, *samplingRate); in getSamplingRate() 453 …outputDesc->samplingRate, outputDesc->format, outputDesc->channels, outputDesc->frameCount, output… in ioConfigChanged() 475 ioHandle, desc->samplingRate, desc->format, in ioConfigChanged() [all …]
|
D | IAudioFlinger.cpp | 371 uint32_t samplingRate = pSamplingRate ? *pSamplingRate : 0; in openOutput() local 379 data.writeInt32(samplingRate); in openOutput() 389 samplingRate = reply.readInt32(); in openOutput() 390 if (pSamplingRate) *pSamplingRate = samplingRate; in openOutput() 446 uint32_t samplingRate = pSamplingRate ? *pSamplingRate : 0; in openInput() local 453 data.writeInt32(samplingRate); in openInput() 460 samplingRate = reply.readInt32(); in openInput() 461 if (pSamplingRate) *pSamplingRate = samplingRate; in openInput() 857 uint32_t samplingRate = data.readInt32(); in onTransact() local 864 &samplingRate, in onTransact() [all …]
|
D | IAudioFlingerClient.cpp | 54 data.writeInt32(desc->samplingRate); in ioConfigChanged() 84 desc.samplingRate = data.readInt32(); in onTransact()
|
D | IAudioPolicyService.cpp | 124 uint32_t samplingRate, in getOutput() argument 132 data.writeInt32(samplingRate); in getOutput() 176 uint32_t samplingRate, in getInput() argument 185 data.writeInt32(samplingRate); in getInput() 418 uint32_t samplingRate = data.readInt32(); in onTransact() local 425 samplingRate, in onTransact() 465 uint32_t samplingRate = data.readInt32(); in onTransact() local 472 samplingRate, in onTransact()
|
/frameworks/av/media/libeffects/preprocessing/ |
D | PreProcessing.cpp | 108 uint32_t samplingRate; // sampling rate at effect process interface member 795 session->samplingRate = kPreprocDefaultSr; in Session_CreateEffect() 881 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate || in Session_SetConfig() 888 config->inputCfg.samplingRate, config->inputCfg.channels); in Session_SetConfig() 893 if (session->samplingRate != config->inputCfg.samplingRate || in Session_SetConfig() 903 if (config->inputCfg.samplingRate >= 32000 && !(session->createdMsk & (1 << PREPROC_AEC))) { in Session_SetConfig() 906 if (config->inputCfg.samplingRate >= 16000) { in Session_SetConfig() 908 } else if (config->inputCfg.samplingRate >= 8000) { in Session_SetConfig() 924 session->samplingRate = config->inputCfg.samplingRate; in Session_SetConfig() 926 if (session->samplingRate == session->apmSamplingRate) { in Session_SetConfig() [all …]
|
/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/base/media/java/android/media/audiofx/ |
D | Visualizer.java | 459 void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform, int samplingRate); in onWaveFormDataCapture() argument 470 void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate); in onFftDataCapture() argument 570 int samplingRate = msg.arg1; in handleCaptureMessage() local 574 l.onWaveFormDataCapture(mVisualizer, data, samplingRate); in handleCaptureMessage() 577 l.onFftDataCapture(mVisualizer, data, samplingRate); in handleCaptureMessage()
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
D | SoftAAC.cpp | 160 aacParams->nSampleRate = mConfig->samplingRate; in internalGetParameter() 189 pcmParams->nSamplingRate = mConfig->samplingRate; in internalGetParameter() 384 Int32 prevSamplingRate = mConfig->samplingRate; in onQueueFilled() 410 if (mConfig->samplingRate != prevSamplingRate) { in onQueueFilled() 412 prevSamplingRate, mConfig->samplingRate); in onQueueFilled() 488 + (mNumSamplesOutput * 1000000ll) / mConfig->samplingRate; in onQueueFilled()
|
D | pvmp4audiodecoderinitlibrary.cpp | 319 pExt->samplingRate = 0; in PVMP4AudioDecoderInitLibrary() 411 pExt->samplingRate = samp_rate_info[pVars->prog_config.sampling_rate_idx].samp_rate; in PVMP4AudioDecoderDisableAacPlus()
|
D | pvmp4audiodecoder_api.h | 287 Int32 samplingRate; member
|
D | pvmp4audiodecoderconfig.cpp | 235 pExt->samplingRate = in PVMP4AudioDecoderConfig()
|
/frameworks/av/media/libeffects/visualizer/ |
D | EffectVisualizer.cpp | 101 if (pConfig->inputCfg.samplingRate != pConfig->outputCfg.samplingRate) return -EINVAL; in Visualizer_setConfig() 154 pContext->mConfig.inputCfg.samplingRate = 44100; in Visualizer_init() 162 pContext->mConfig.outputCfg.samplingRate = 44100; in Visualizer_init() 507 uint32_t deltaSmpl = pContext->mConfig.inputCfg.samplingRate * latencyMs / 1000; in Visualizer_command()
|
/frameworks/base/media/java/android/media/ |
D | MediaRecorder.java | 533 public void setAudioSamplingRate(int samplingRate) { in setAudioSamplingRate() argument 534 if (samplingRate <= 0) { in setAudioSamplingRate() 537 setParameter("audio-param-sampling-rate=" + samplingRate); in setAudioSamplingRate()
|
/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/av/media/libstagefright/codecs/mp3dec/ |
D | SoftMP3.cpp | 248 } else if (mConfig->samplingRate != mSamplingRate in onQueueFilled() 250 mSamplingRate = mConfig->samplingRate; in onQueueFilled() 272 + (mNumFramesOutput * 1000000ll) / mConfig->samplingRate; in onQueueFilled()
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/ |
D | pvgsmamrdecoderinterface.h | 119 int32_t samplingRate; member
|
/frameworks/av/media/libeffects/testlibs/ |
D | EffectEqualizer.cpp | 247 CHECK_ARG(pConfig->inputCfg.samplingRate == pConfig->outputCfg.samplingRate); in Equalizer_setConfig() 268 pConfig->inputCfg.samplingRate); in Equalizer_setConfig() 325 pContext->config.inputCfg.samplingRate = 44100; in Equalizer_init() 333 pContext->config.outputCfg.samplingRate = 44100; in Equalizer_init()
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
D | EffectReverb.cpp | 634 CHECK_ARG(pConfig->inputCfg.samplingRate == pConfig->outputCfg.samplingRate); in Reverb_setConfig() 643 if(pConfig->inputCfg.samplingRate != 44100){ in Reverb_setConfig() 651 switch (pConfig->inputCfg.samplingRate) { in Reverb_setConfig() 671 ALOGV("\rReverb_setConfig invalid sampling rate %d", pConfig->inputCfg.samplingRate); in Reverb_setConfig() 752 pContext->config.inputCfg.samplingRate = 44100; in Reverb_init() 760 pContext->config.outputCfg.samplingRate = 44100; in Reverb_init() 861 pContext->SamplesToExitCount = (params.T60 * pContext->config.inputCfg.samplingRate)/1000; in Reverb_init() 1252 pContext->SamplesToExitCount = (ActiveParams.T60 * pContext->config.inputCfg.samplingRate)/1000; in ReverbSetDecayTime() 2068 (ActiveParams.T60 * pContext->config.inputCfg.samplingRate)/1000; in Reverb_command()
|
/frameworks/wilhelm/src/itf/ |
D | IAudioIODeviceCapabilities.c | 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
|
/frameworks/av/media/libeffects/downmix/ |
D | EffectDownmix.c | 593 pDwmModule->config.inputCfg.samplingRate = 44100; in Downmix_Init() 594 pDwmModule->config.outputCfg.samplingRate = pDwmModule->config.inputCfg.samplingRate; in Downmix_Init() 643 if (pConfig->inputCfg.samplingRate != pConfig->outputCfg.samplingRate in Downmix_Configure()
|