/frameworks/av/include/media/ |
IAudioPolicyService.h | 53 uint32_t samplingRate = 0, 66 uint32_t samplingRate = 0,
|
/frameworks/av/media/libmedia/ |
IAudioFlingerClient.cpp | 55 data.writeInt32(desc->samplingRate); 85 desc.samplingRate = data.readInt32();
|
AudioSystem.cpp | 217 status_t AudioSystem::getOutputSamplingRate(uint32_t* samplingRate, audio_stream_type_t streamType) 230 return getSamplingRate(output, streamType, samplingRate); 235 uint32_t* samplingRate) 246 *samplingRate = af->sampleRate(output); 249 *samplingRate = outputDesc->samplingRate; 254 *samplingRate); 458 ALOGV("ioConfigChanged() new output samplingRate %u, format %d channel mask %#x frameCount %u " 460 outputDesc->samplingRate, outputDesc->format, outputDesc->channelMask, 482 ALOGV("ioConfigChanged() new config for output %d samplingRate %u, format %d channel mask %#x [all...] |
IAudioFlinger.cpp | 393 uint32_t samplingRate = pSamplingRate != NULL ? *pSamplingRate : 0; 401 data.writeInt32(samplingRate); 417 samplingRate = reply.readInt32(); 418 if (pSamplingRate != NULL) *pSamplingRate = samplingRate; 474 uint32_t samplingRate = pSamplingRate != NULL ? *pSamplingRate : 0; 482 data.writeInt32(samplingRate); 489 samplingRate = reply.readInt32(); 490 if (pSamplingRate != NULL) *pSamplingRate = samplingRate; [all...] |
/frameworks/av/media/libeffects/preprocessing/ |
PreProcessing.cpp | 108 uint32_t samplingRate; // sampling rate at effect process interface 799 session->samplingRate = kPreprocDefaultSr; 885 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate || 892 config->inputCfg.samplingRate, config->inputCfg.channels); 897 if (session->samplingRate != config->inputCfg.samplingRate || 907 if (config->inputCfg.samplingRate >= 32000 && !(session->createdMsk & (1 << PREPROC_AEC))) { 910 if (config->inputCfg.samplingRate >= 16000) { 912 } else if (config->inputCfg.samplingRate >= 8000) [all...] |
/cts/suite/audio_quality/test/ |
AudioLocalTest.cpp | 30 AudioHardware::SamplingRate mSamplingRate; 48 virtual bool doPrepare(AudioHardware::SamplingRate samplingRate, int samplesInOneGo) {
|
AudioSignalFactoryTest.cpp | 26 AudioHardware::SamplingRate samplingRate, int signalFreq, int samples) {
|
/external/aac/libMpegTPEnc/src/ |
tpenc_adif.cpp | 109 INT sampleRate = adif->samplingRate;
|
tpenc_adts.cpp | 167 hAdts->sample_freq_index = getSamplingRateIndex(config->samplingRate); 168 hAdts->sample_freq = config->samplingRate;
|
/external/chromium_org/v8/tools/ |
profile_view.js | 32 * @param {number} samplingRate Number of ms between profiler ticks. 35 function ViewBuilder(samplingRate) { 36 this.samplingRate = samplingRate; 50 var samplingRate = this.samplingRate; 53 var totalWeight = node.totalWeight * samplingRate; 54 var selfWeight = node.selfWeight * samplingRate;
|
/external/v8/tools/ |
profile_view.js | 32 * @param {number} samplingRate Number of ms between profiler ticks. 35 function ViewBuilder(samplingRate) { 36 this.samplingRate = samplingRate; 50 var samplingRate = this.samplingRate; 53 var totalWeight = node.totalWeight * samplingRate; 54 var selfWeight = node.selfWeight * samplingRate;
|
/frameworks/av/media/libeffects/loudness/ |
EffectLoudnessEnhancer.cpp | 73 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); 104 if (pConfig->inputCfg.samplingRate != pConfig->outputCfg.samplingRate) return -EINVAL; 159 pContext->mConfig.inputCfg.samplingRate = 44100; 167 pContext->mConfig.outputCfg.samplingRate = 44100; 179 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate);
|
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/ |
AudioProtocol.java | 237 final int samplingRate = mDataBuffer.getInt(1 * 4); 247 if (samplingRate != 44100) { 262 int bufferSize = AudioTrack.getMinBufferSize(samplingRate, 272 mPlayback = new AudioTrack(type, samplingRate, 333 final int samplingRate = mDataBuffer.getInt(0); 339 if (samplingRate != 44100) { 351 int minBufferSize = AudioRecord.getMinBufferSize(samplingRate, 354 mRecord = new AudioRecord(type, samplingRate,
|
/external/aac/libAACdec/src/ |
channelinfo.h | 145 UINT samplingRate; 298 AAC_DECODER_ERROR getSamplingRateInfo(SamplingRateInfo *t, UINT samplesPerFrame, UINT samplingRateIndex, UINT samplingRate);
|
/external/aac/libMpegTPDec/include/ |
tp_data.h | 307 int getSamplingRateIndex( UINT samplingRate ) 312 if( SamplingRateTable[sf_index] == samplingRate ) break;
|
/external/aac/libMpegTPEnc/include/ |
tp_data.h | 307 int getSamplingRateIndex( UINT samplingRate ) 312 if( SamplingRateTable[sf_index] == samplingRate ) break;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMediaRecorder.java | 69 public void setAudioSamplingRate(int samplingRate) { 70 audioSamplingRate = samplingRate;
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
AudioPolicyInterface.h | 93 uint32_t samplingRate = 0, 112 uint32_t samplingRate = 0,
|
AudioPolicyManagerBase.h | 90 uint32_t samplingRate = 0, 104 uint32_t samplingRate, 211 uint32_t samplingRate, 483 uint32_t samplingRate, 487 uint32_t samplingRate,
|
/cts/tests/tests/media/src/android/media/cts/ |
VisualizerTest.java | 83 int samplingRate = mVisualizer.getSamplingRate(); 284 Visualizer visualizer, byte[] waveform, int samplingRate) { 296 Visualizer visualizer, byte[] fft, int samplingRate) {
|
/frameworks/base/media/java/android/media/ |
MediaRecorder.java | 568 * @param samplingRate the sampling rate for audio in samples per second. 570 public void setAudioSamplingRate(int samplingRate) { 571 if (samplingRate <= 0) { 574 setParameter("audio-param-sampling-rate=" + samplingRate); [all...] |
/hardware/qcom/audio/voice_processing/ |
voice_processing.c | 294 session->config.inputCfg.samplingRate = 16000; 297 session->config.outputCfg.samplingRate = 16000; 336 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate || 342 config->inputCfg.samplingRate, config->inputCfg.channels); 346 if (session->config.inputCfg.samplingRate != config->inputCfg.samplingRate ||
|
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
SoftMP3.cpp | 272 } else if (mConfig->samplingRate != mSamplingRate 274 mSamplingRate = mConfig->samplingRate; 299 + (mNumFramesOutput * 1000000ll) / mConfig->samplingRate;
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
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) {
|
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
AudioFxDemo.java | 177 int samplingRate) { 181 public void onFftDataCapture(Visualizer visualizer, byte[] bytes, int samplingRate) {}
|