Home
last modified time | relevance | path

Searched refs:setSampleRate (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/av/services/audioflinger/
Dtest-resample.cpp351 resampler->setSampleRate(9000); in main()
352 resampler->setSampleRate(12000); in main()
353 resampler->setSampleRate(20000); in main()
354 resampler->setSampleRate(30000); in main()
366 resampler->setSampleRate(1000); in main()
370 resampler->setSampleRate(1000+i); in main()
386 resampler->setSampleRate(input_freq); in main()
DAudioResampler.h58 virtual void setSampleRate(int32_t inSampleRate);
DAudioResamplerDyn.h51 virtual void setSampleRate(int32_t inSampleRate);
DAudioResampler.cpp297 void AudioResampler::setSampleRate(int32_t inSampleRate) { in setSampleRate() function in android::AudioResampler
DAudioResamplerDyn.cpp279 void AudioResamplerDyn<TC, TI, TO>::setSampleRate(int32_t inSampleRate) in setSampleRate() function in android::AudioResamplerDyn
DTracks.cpp1677 mClientProxy->setSampleRate(sampleRate); in OutputTrack()
2015 mResampler->setSampleRate(thread->mSampleRate); in RecordTrack()
DAudioMixer.cpp1214 t->resampler->setSampleRate(t->sampleRate); in track__genericResample()
2032 t->resampler->setSampleRate(t->sampleRate); in track__Resample()
/frameworks/av/services/audioflinger/tests/
Dresampler_tests.cpp96 resampler->setSampleRate(inputFreq); in testBufferIncrement()
114 resampler->setSampleRate(inputFreq); in testBufferIncrement()
184 resampler->setSampleRate(inputFreq); in testStopbandDownconversion()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMix.java171 mFormat = new AudioFormat.Builder().setSampleRate(rate).build(); in build()
DAudioPolicyConfig.java95 final AudioFormat format = new AudioFormat.Builder().setSampleRate(sampleRate) in AudioPolicyConfig()
/frameworks/base/core/java/android/speech/srec/
DWaveHeader.java132 public WaveHeader setSampleRate(int sampleRate) { in setSampleRate() method in WaveHeader
/frameworks/base/media/java/android/media/
DAudioFormat.java432 public Builder setSampleRate(int sampleRate) throws IllegalArgumentException { in setSampleRate() method in AudioFormat.Builder
DAudioRecord.java233 .setSampleRate(sampleRateInHz) in AudioRecord()
DAudioTrack.java365 .setSampleRate(sampleRateInHz) in AudioTrack()
/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java221 .setSampleRate(mSampleRateInHz).build(); in createStreamingAudioTrack()
/frameworks/av/include/private/media/
DAudioTrackShared.h290 void setSampleRate(uint32_t sampleRate) { in setSampleRate() function
/frameworks/av/include/media/
DAudioTrack.h342 status_t setSampleRate(uint32_t sampleRate);
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
DSoundTriggerTest.java273 .setSampleRate(16000) in testRecognitionEventParcelUnparcel_largeAudioData()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java490 .setSampleRate(sampleRate) in fromParcel()
883 .setSampleRate(sampleRate) in fromParcel()
/frameworks/av/media/libmedia/
DAudioTrack.cpp675 status_t AudioTrack::setSampleRate(uint32_t rate) in setSampleRate() function in android::AudioTrack
691 mProxy->setSampleRate(rate); in setSampleRate()
1223 mProxy->setSampleRate(mSampleRate); in createTrack_l()
DSoundPool.cpp859 mAudioTrack->setSampleRate(sampleRate); in setRate()
/frameworks/av/media/libstagefright/
DAudioPlayer.cpp415 return mAudioTrack->setSampleRate(ratePermille * mSampleRate / 1000); in setPlaybackRatePermille()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp737 return nativeToJavaStatus(lpTrack->setSampleRate(sampleRateInHz)); in android_media_AudioTrack_set_playback_rate()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1757 res = t->setSampleRate(mPlaybackRatePermille * mSampleRateHz / 1000); in open()
1858 res = mTrack->setSampleRate(ratePermille * mSampleRateHz / 1000); in setPlaybackRatePermille()
/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.cpp1810 ap->mAudioTrack->setSampleRate(contentRate * (rate/1000.0f)); in android_audioPlayer_setPlaybackRateAndConstraints()

12