Searched refs:getSampleRate (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAudioConfig.java90 public int getSampleRate() { method in class:BluetoothAudioConfig
/frameworks/av/media/libstagefright/
H A DFLACExtractor.cpp90 unsigned getSampleRate() const { function in class:android::FLACParser
573 switch (getSampleRate()) {
587 ALOGE("unsupported sample rate %u", getSampleRate());
617 mTrackMetadata->setInt32(kKeySampleRate, getSampleRate());
620 (getTotalSamples() * 1000000LL) / getSampleRate());
674 if (mWriteHeader.sample_rate != getSampleRate() ||
695 int64_t timeUs = (1000000LL * sampleNumber) / getSampleRate();
764 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL;
H A DAudioPlayer.cpp740 sampleRate = mAudioSink->getSampleRate();
743 sampleRate = mAudioTrack->getSampleRate();
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioPolicyConfig.java83 dest.writeInt(mix.getFormat().getSampleRate());
144 textDump += " rate=" + mix.getFormat().getSampleRate() + "Hz\n";
H A DAudioPolicy.java343 AudioRecord.getMinBufferSize(mix.getFormat().getSampleRate(),
376 AudioTrack.getMinBufferSize(mix.getFormat().getSampleRate(),
/frameworks/base/core/java/android/hardware/soundtrigger/
H A DSoundTrigger.java573 dest.writeInt(captureFormat.getSampleRate());
592 result = prime * result + captureFormat.getSampleRate();
627 if (captureFormat.getSampleRate() != other.captureFormat.getSampleRate())
644 (", sampleRate=" + captureFormat.getSampleRate()))
964 dest.writeInt(captureFormat.getSampleRate());
1010 (", sampleRate=" + captureFormat.getSampleRate()))
/frameworks/base/core/java/android/speech/srec/
H A DWaveHeader.java123 public int getSampleRate() { method in class:WaveHeader
/frameworks/av/services/audioflinger/tests/
H A Dtest-mixer.cpp188 / Providers[i].getSampleRate();
258 (void *)(uintptr_t)Providers[i].getSampleRate());
H A Dtest_utils.h294 uint32_t getSampleRate() const { function in class:SignalProvider
/frameworks/base/media/java/android/media/
H A DAudioRecord.java299 rate = format.getSampleRate();
459 public int getSampleRate() { method in class:AudioRecord
H A DAudioFormat.java320 public int getSampleRate() { method in class:AudioFormat
H A DAudioTrack.java412 rate = format.getSampleRate();
656 public int getSampleRate() { method in class:AudioTrack
/frameworks/av/include/media/
H A DAudioRecord.h244 uint32_t getSampleRate() const { return mSampleRate; } function in class:android::AudioRecord
H A DMediaPlayerInterface.h105 virtual uint32_t getSampleRate() const = 0;
H A DAudioTrack.h348 uint32_t getSampleRate() const;
683 mutable uint32_t mSampleRate; // mutable because getSampleRate() can update it.
/frameworks/base/core/java/android/speech/tts/
H A DBlockingAudioTrack.java285 audioTrack.getSampleRate();
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h91 virtual uint32_t getSampleRate() const;
205 virtual uint32_t getSampleRate() const;
H A DMediaPlayerService.cpp1626 } else if ((mRecycledTrack->getSampleRate() != sampleRate) ||
1629 mRecycledTrack->getSampleRate(), sampleRate,
1950 uint32_t MediaPlayerService::AudioOutput::getSampleRate() const function in class:android::MediaPlayerService::AudioOutput
1953 return mTrack->getSampleRate();
2189 uint32_t MediaPlayerService::AudioCache::getSampleRate() const function in class:android::MediaPlayerService::AudioCache
/frameworks/av/include/private/media/
H A DAudioTrackShared.h405 uint32_t getSampleRate() const { return mCblk->mSampleRate; } function in class:android::AudioTrackServerProxy
/frameworks/av/services/audioflinger/
H A DTracks.cpp579 mAudioTrackServerProxy->getSampleRate(),
591 return mAudioTrackServerProxy->getSampleRate();
H A DThreads.cpp3535 uint32_t reqSampleRate = track->mAudioTrackServerProxy->getSampleRate();
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp746 "Unable to retrieve AudioTrack pointer for getSampleRate()");
749 return (jint) lpTrack->getSampleRate();
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp694 uint32_t AudioTrack::getSampleRate() const function in class:android::AudioTrack

Completed in 577 milliseconds