Home
last modified time | relevance | path

Searched refs:samplingRate (Results 1 – 22 of 22) sorted by relevance

/hardware/qcom/audio/msm8909/voice_processing/
Dvoice_processing.c294 session->config.inputCfg.samplingRate = 16000; in session_create_effect()
297 session->config.outputCfg.samplingRate = 16000; in session_create_effect()
336 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate || in session_set_config()
342 config->inputCfg.samplingRate, config->inputCfg.channels); in session_set_config()
346 if (session->config.inputCfg.samplingRate != config->inputCfg.samplingRate || in session_set_config()
/hardware/qcom/audio/voice_processing/
Dvoice_processing.c295 session->config.inputCfg.samplingRate = 16000; in session_create_effect()
298 session->config.outputCfg.samplingRate = 16000; in session_create_effect()
337 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate || in session_set_config()
343 config->inputCfg.samplingRate, config->inputCfg.channels); in session_set_config()
347 if (session->config.inputCfg.samplingRate != config->inputCfg.samplingRate || in session_set_config()
/hardware/qcom/audio/msm8909/policy_hal/
DAudioPolicyManager.h70 uint32_t samplingRate,
148 uint32_t samplingRate,
DAudioPolicyManager.cpp1290 uint32_t samplingRate, in getOutputForDevice() argument
1351 (samplingRate == 8000 || samplingRate == 16000)) { in getOutputForDevice()
1380 ((voipSampleRate == 0) || (voipSampleRate == samplingRate))) { in getOutputForDevice()
1544 audio_is_linear_pcm(format) && samplingRate <= MAX_MIXER_SAMPLING_RATE && in getOutputForDevice()
1559 samplingRate, in getOutputForDevice()
1573 if ((samplingRate == outputDesc->mSamplingRate) && in getOutputForDevice()
1592 defaultOffloadInfo.sample_rate = samplingRate; in getOutputForDevice()
1608 config.sample_rate = samplingRate; in getOutputForDevice()
1624 (samplingRate != 0 && samplingRate != config.sample_rate) || in getOutputForDevice()
1628 "format %d %d, channelMask %04x %04x", output, samplingRate, in getOutputForDevice()
[all …]
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioPolicyManagerBase.h90 uint32_t samplingRate,
103 uint32_t samplingRate,
211 uint32_t samplingRate,
495 uint32_t samplingRate,
499 uint32_t samplingRate,
DAudioPolicyInterface.h93 uint32_t samplingRate,
111 uint32_t samplingRate,
/hardware/libhardware/include/hardware/
Daudio_policy.h133 uint32_t samplingRate,
159 uint32_t samplingRate,
Daudio_effect.h816 uint32_t samplingRate; // sampling rate member
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp505 uint32_t samplingRate, in getProfileForDirectOutput() argument
517 if (profile->isCompatibleProfile(device, samplingRate, format, in getProfileForDirectOutput()
525 if (profile->isCompatibleProfile(device, samplingRate, format, in getProfileForDirectOutput()
539 uint32_t samplingRate, in getOutput() argument
550 device, stream, samplingRate, format, channelMask, flags); in getOutput()
603 samplingRate, in getOutput()
617 if ((samplingRate == outputDesc->mSamplingRate) && in getOutput()
632 outputDesc->mSamplingRate = samplingRate; in getOutput()
651 (samplingRate != 0 && samplingRate != outputDesc->mSamplingRate) || in getOutput()
655 "format %d %d, channelMask %04x %04x", output, samplingRate, in getOutput()
[all …]
/hardware/qcom/audio/post_proc/
Dvirtualizer.c197 context->config.inputCfg.samplingRate = 44100; in virtualizer_init()
205 context->config.outputCfg.samplingRate = 44100; in virtualizer_init()
Dbass_boost.c197 context->config.inputCfg.samplingRate = 44100; in bassboost_init()
205 context->config.outputCfg.samplingRate = 44100; in bassboost_init()
Dequalizer.c433 context->config.inputCfg.samplingRate = 44100; in equalizer_init()
441 context->config.outputCfg.samplingRate = 44100; in equalizer_init()
Dreverb.c555 context->config.inputCfg.samplingRate = 44100; in reverb_init()
563 context->config.outputCfg.samplingRate = 44100; in reverb_init()
/hardware/qcom/audio/msm8909/post_proc/
Dbass_boost.c350 context->config.inputCfg.samplingRate = 44100; in bassboost_init()
358 context->config.outputCfg.samplingRate = 44100; in bassboost_init()
492 context->config.inputCfg.samplingRate = 44100; in pbe_init()
500 context->config.outputCfg.samplingRate = 44100; in pbe_init()
Dvirtualizer.c425 context->config.inputCfg.samplingRate = 44100; in virtualizer_init()
433 context->config.outputCfg.samplingRate = 44100; in virtualizer_init()
Dequalizer.c424 context->config.inputCfg.samplingRate = 44100; in equalizer_init()
432 context->config.outputCfg.samplingRate = 44100; in equalizer_init()
Dreverb.c536 context->config.inputCfg.samplingRate = 44100; in reverb_init()
544 context->config.outputCfg.samplingRate = 44100; in reverb_init()
/hardware/qcom/audio/msm8909/visualizer/
Doffload_visualizer.c523 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate) return -EINVAL; in set_config()
587 context->config.inputCfg.samplingRate = 44100; in visualizer_init()
595 context->config.outputCfg.samplingRate = 44100; in visualizer_init()
811 const uint32_t delta_smp = context->config.inputCfg.samplingRate * latency_ms / 1000; in visualizer_command()
/hardware/qcom/audio/visualizer/
Doffload_visualizer.c531 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate) return -EINVAL; in set_config()
595 context->config.inputCfg.samplingRate = 44100; in visualizer_init()
603 context->config.outputCfg.samplingRate = 44100; in visualizer_init()
832 const uint32_t delta_smp = context->config.inputCfg.samplingRate * latency_ms / 1000; in visualizer_command()
/hardware/qcom/audio/legacy/alsa_sound/
Daudio_hw_hal.cpp519 uint32_t samplingRate, in adev_open_output_session() argument
532 …out->qcom_out = qadev->hwif->openOutputSession(devices, format,&status,sessionId,samplingRate,chan… in adev_open_output_session()
DAudioHardwareALSA.h497 uint32_t samplingRate=0,
DAudioHardwareALSA.cpp1001 uint32_t samplingRate, in openOutputSession() argument