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

12

/frameworks/av/media/libstagefright/codecs/mp3dec/test/
H A Dmp3reader.h37 uint32_t getSampleRate() { return mSampleRate;} function in class:Mp3Reader
H A Dmp3dec_test.cpp79 sfInfo.samplerate = mp3Reader.getSampleRate();
/frameworks/av/services/audioflinger/
H A DAudioStreamOut.h92 virtual uint32_t getSampleRate() const;
H A DSpdifStreamOut.h81 virtual uint32_t getSampleRate() const { return mApplicationSampleRate; } function in class:android::SpdifStreamOut
H A DAudioStreamOut.cpp172 uint32_t AudioStreamOut::getSampleRate() const function in class:android::AudioStreamOut
/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());
621 (getTotalSamples() * 1000000LL) / getSampleRate());
675 if (mWriteHeader.sample_rate != getSampleRate() ||
679 getSampleRate(), getChannels(), getBitsPerSample(),
699 int64_t timeUs = (1000000LL * sampleNumber) / getSampleRate();
768 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL;
H A DAudioPlayer.cpp623 sampleRate = mAudioSink->getSampleRate();
626 sampleRate = mAudioTrack->getSampleRate();
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioPolicyConfig.java90 dest.writeInt(mix.getFormat().getSampleRate());
155 textDump += " rate=" + mix.getFormat().getSampleRate() + "Hz\n";
H A DAudioPolicy.java349 AudioRecord.getMinBufferSize(mix.getFormat().getSampleRate(),
382 AudioTrack.getMinBufferSize(mix.getFormat().getSampleRate(),
/frameworks/base/core/java/android/hardware/soundtrigger/
H A DSoundTrigger.java638 dest.writeInt(captureFormat.getSampleRate());
657 result = prime * result + captureFormat.getSampleRate();
698 if (captureFormat.getSampleRate() != other.captureFormat.getSampleRate())
716 (", sampleRate=" + captureFormat.getSampleRate()))
1036 dest.writeInt(captureFormat.getSampleRate());
1082 (", sampleRate=" + captureFormat.getSampleRate()))
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
H A DSoundTriggerTestService.java560 int bytesRequired = format.getSampleRate() * format.getChannelCount() *
563 format.getSampleRate(), format.getChannelMask(), format.getEncoding());
580 format.getSampleRate(), channelConfig, format.getEncoding(),
598 format.getSampleRate() + "hz_" + encoding + ".pcm"));
/frameworks/av/services/audioflinger/tests/
H A Dtest-mixer.cpp212 / providers[i].getSampleRate();
280 (void *)(uintptr_t)providers[i].getSampleRate());
H A Dtest_utils.h294 uint32_t getSampleRate() const { function in class:SignalProvider
/frameworks/av/include/media/
H A DAudioRecord.h264 uint32_t getSampleRate() const { return mSampleRate; } function in class:android::AudioRecord
H A DMediaPlayerInterface.h106 virtual uint32_t getSampleRate() const = 0;
H A DAudioTrack.h435 uint32_t getSampleRate() const;
942 mutable uint32_t mSampleRate; // mutable because getSampleRate() can update it
/frameworks/base/core/java/android/speech/tts/
H A DBlockingAudioTrack.java284 audioTrack.getSampleRate();
/frameworks/base/media/java/android/media/
H A DAudioFormat.java641 public int getSampleRate() { method in class:AudioFormat
H A DAudioRecord.java260 * {@link #getSampleRate()} can be used to retrieve the actual sample rate chosen.
347 int rate = format.getSampleRate();
474 * with {@link #getSampleRate()} method.
766 public int getSampleRate() { method in class:AudioRecord
H A DAudioTrack.java335 * {@link #getSampleRate()} can be used to retrieve the actual sample rate chosen.
480 int rate = format.getSampleRate();
626 * with {@link #getSampleRate()} method.
1017 public int getSampleRate() { method in class:AudioTrack
/frameworks/av/include/private/media/
H A DAudioTrackShared.h563 uint32_t getSampleRate() const { return mCblk->mSampleRate; } function in class:android::AudioTrackServerProxy
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h94 virtual uint32_t getSampleRate() const;
H A DMediaPlayerService.cpp1742 } else if ((mRecycledTrack->getSampleRate() != sampleRate) ||
1745 mRecycledTrack->getSampleRate(), sampleRate,
2188 uint32_t MediaPlayerService::AudioOutput::getSampleRate() const function in class:android::MediaPlayerService::AudioOutput
2192 return mTrack->getSampleRate();
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp417 const jint elements[1] = { (jint) lpTrack->getSampleRate() };
789 "Unable to retrieve AudioTrack pointer for getSampleRate()");
792 return (jint) lpTrack->getSampleRate();

Completed in 1073 milliseconds

12