Searched defs:samplingRate (Results 1 - 15 of 15) sorted by relevance

/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dtns_param.h32 Word32 samplingRate; member in struct:__anon559
50 void GetTnsMaxBands(Word32 samplingRate, Word16 blockType, Word16* tnsMaxSfb);
/frameworks/av/libvideoeditor/lvpp/
H A DDummyAudioSource.cpp32 int32_t samplingRate, int32_t channelCount,
36 return new DummyAudioSource(samplingRate,
44 int32_t samplingRate, int32_t channelCount,
46 : mSamplingRate(samplingRate),
59 ALOGV("samplingRate = %d", samplingRate);
31 Create( int32_t samplingRate, int32_t channelCount, int64_t frameDurationUs, int64_t audioDurationUs) argument
43 DummyAudioSource( int32_t samplingRate, int32_t channelCount, int64_t frameDurationUs, int64_t audioDurationUs) argument
/frameworks/av/include/media/
H A DAudioSystem.h90 static status_t getOutputSamplingRate(int* samplingRate, audio_stream_type_t stream = AUDIO_STREAM_DEFAULT);
95 int* samplingRate);
108 static status_t getOutputSamplingRate(int* samplingRate, int stream = AUDIO_STREAM_DEFAULT);
155 : samplingRate(0), format(AUDIO_FORMAT_DEFAULT), channels(0), frameCount(0), latency(0) {}
157 uint32_t samplingRate; member in class:android::AudioSystem::OutputDescriptor
192 uint32_t samplingRate = 0,
204 uint32_t samplingRate = 0,
/frameworks/av/media/libstagefright/codecs/mp3dec/include/
H A Dpvmp3decoder_api.h196 int32 samplingRate; member in struct:tPVMP3DecoderExternal
/frameworks/wilhelm/src/itf/
H A DIAudioIODeviceCapabilities.c261 SLAudioIODeviceCapabilitiesItf self, SLuint32 deviceID, SLmilliHertz samplingRate,
274 switch (samplingRate) {
260 IAudioIODeviceCapabilities_QuerySampleFormatsSupported( SLAudioIODeviceCapabilitiesItf self, SLuint32 deviceID, SLmilliHertz samplingRate, SLint32 *pSampleFormats, SLint32 *pNumOfSampleFormats) argument
/frameworks/av/media/libmedia/
H A DToneGenerator.cpp1465 // samplingRate: Output sampling rate in Hz
1473 ToneGenerator::WaveGenerator::WaveGenerator(unsigned short samplingRate, argument
1476 double F_div_Fs; // frequency / samplingRate
1478 F_div_Fs = frequency / (double)samplingRate;
H A DIAudioPolicyService.cpp125 uint32_t samplingRate,
133 data.writeInt32(samplingRate);
177 uint32_t samplingRate,
185 data.writeInt32(samplingRate);
426 uint32_t samplingRate = data.readInt32(); local
433 samplingRate,
473 uint32_t samplingRate = data.readInt32(); local
478 samplingRate,
123 getOutput( audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags) argument
175 getInput( audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, int audioSession) argument
H A DAudioSystem.cpp209 status_t AudioSystem::getOutputSamplingRate(int* samplingRate, int streamType) { argument
210 return getOutputSamplingRate(samplingRate, (audio_stream_type_t)streamType);
213 status_t AudioSystem::getOutputSamplingRate(int* samplingRate, audio_stream_type_t streamType) argument
226 return getSamplingRate(output, streamType, samplingRate);
231 int* samplingRate)
242 *samplingRate = af->sampleRate(output);
245 *samplingRate = outputDesc->samplingRate;
249 ALOGV("getSamplingRate() streamType %d, output %d, sampling rate %d", streamType, output, *samplingRate);
452 ALOGV("ioConfigChanged() new output samplingRate
229 getSamplingRate(audio_io_handle_t output, audio_stream_type_t streamType, int* samplingRate) argument
588 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags) argument
624 getInput(audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, int sessionId) argument
[all...]
H A DIAudioFlinger.cpp378 uint32_t samplingRate = pSamplingRate ? *pSamplingRate : 0; local
386 data.writeInt32(samplingRate);
396 samplingRate = reply.readInt32();
397 if (pSamplingRate) *pSamplingRate = samplingRate;
453 uint32_t samplingRate = pSamplingRate ? *pSamplingRate : 0; local
460 data.writeInt32(samplingRate);
467 samplingRate = reply.readInt32();
468 if (pSamplingRate) *pSamplingRate = samplingRate;
884 uint32_t samplingRate = data.readInt32(); local
891 &samplingRate,
931 uint32_t samplingRate = data.readInt32(); local
[all...]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DVisualizerTest.java148 public void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform, int samplingRate) { argument
151 Log.d(TAG, "onWaveFormDataCapture(): "+waveform[0]+" smp rate: "+samplingRate/1000);
158 public void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate) { argument
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp646 int samplingRate, numChannels, bitrate, numSamples; local
648 header, &frameSize, &samplingRate, &numChannels,
691 mFormat->setInt32(kKeySampleRate, samplingRate);
/frameworks/base/media/java/android/media/audiofx/
H A DVisualizer.java457 * @param samplingRate sampling rate of the audio visualized.
459 void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform, int samplingRate); argument
468 * @param samplingRate sampling rate of the audio visualized.
470 void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate); argument
570 int samplingRate = msg.arg1;
574 l.onWaveFormDataCapture(mVisualizer, data, samplingRate);
577 l.onFftDataCapture(mVisualizer, data, samplingRate);
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java541 * @param samplingRate the sampling rate for audio in samples per second.
543 public void setAudioSamplingRate(int samplingRate) { argument
544 if (samplingRate <= 0) {
547 setParameter("audio-param-sampling-rate=" + samplingRate);
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp108 uint32_t samplingRate; // sampling rate at effect process interface member in struct:preproc_session_s
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 >
[all...]
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp220 uint32_t samplingRate,
230 return mpAudioPolicy->get_output(mpAudioPolicy, stream, samplingRate, format, channelMask, flags);
268 uint32_t samplingRate,
282 audio_io_handle_t input = mpAudioPolicy->get_input(mpAudioPolicy, inputSource, samplingRate,
219 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags) argument
267 getInput(audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, int audioSession) argument

Completed in 249 milliseconds