/frameworks/av/services/oboeservice/ |
D | AAudioServiceStreamShared.cpp | 152 setSampleRate(configurationInput.getSampleRate()); in open() 153 if (getSampleRate() == AAUDIO_UNSPECIFIED) { in open() 154 setSampleRate(endpoint->getSampleRate()); in open() 155 } else if (getSampleRate() != endpoint->getSampleRate()) { in open() 157 __func__, getSampleRate(), endpoint->getSampleRate()); in open()
|
D | AAudioServiceEndpoint.cpp | 56 result << " Sample Rate: " << getSampleRate() << "\n"; in dump() 130 if (configuration.getSampleRate() != AAUDIO_UNSPECIFIED && in matches() 131 configuration.getSampleRate() != getSampleRate()) { in matches()
|
D | AAudioServiceEndpointShared.cpp | 77 setSampleRate(mStreamInternal->getSampleRate()); in open() 114 / getSampleRate(); in startSharingThread_l()
|
D | AAudioServiceEndpointMMAP.cpp | 117 int32_t aaudioSampleRate = getSampleRate(); in open() 237 __func__, getSampleRate(), getSamplesPerFrame(), deviceId, getBufferCapacity()); in open()
|
/frameworks/av/media/extractors/flac/ |
D | FLACExtractor.cpp | 113 unsigned getSampleRate() const { in getSampleRate() function in android::FLACParser 536 if (getSampleRate() < 8000 || getSampleRate() > 192000) { in init() 537 ALOGE("unsupported sample rate %u", getSampleRate()); in init() 547 AMEDIAFORMAT_KEY_SAMPLE_RATE, getSampleRate()); in init() 552 AMEDIAFORMAT_KEY_DURATION, (getTotalSamples() * 1000000LL) / getSampleRate()); in init() 605 if (mWriteHeader.sample_rate != getSampleRate() || in readBuffer() 609 getSampleRate(), getChannels(), getBitsPerSample(), in readBuffer() 641 int64_t timeUs = (1000000LL * sampleNumber) / getSampleRate(); in readBuffer() 718 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL; in read()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamRecord.cpp | 114 && (getSampleRate() == kMostLikelySampleRateForFast in open() 115 || getSampleRate() == AAUDIO_UNSPECIFIED)) { in open() 163 getSampleRate(), in open() 206 int32_t actualSampleRate = mAudioRecord->getSampleRate(); in open() 207 ALOGW_IF(actualSampleRate != getSampleRate(), in open() 209 getSampleRate(), actualSampleRate); in open()
|
D | AudioStreamTrack.cpp | 153 getSampleRate(), in open() 191 int32_t actualSampleRate = mAudioTrack->getSampleRate(); in open() 192 ALOGW_IF(actualSampleRate != getSampleRate(), in open() 194 getSampleRate(), actualSampleRate); in open()
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
D | LoopbackAnalyzer.h | 348 int32_t getSampleRate() { in getSampleRate() function 488 int32_t getSampleRate() { in getSampleRate() function 537 mAudioRecording.allocate(2 * getSampleRate()); in EchoAnalyzer() 538 mAudioRecording.setSampleRate(getSampleRate()); in EchoAnalyzer() 547 mDownCounter = getSampleRate() / 2; in reset() 603 getSampleRate(), in report() 607 / getSampleRate(); in report() 644 return getSampleRate() / 8; in getBlockFrames() 767 setSampleRate(mAudioRecording.getSampleRate()); in load()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternal.cpp | 112 request.getConfiguration().setSampleRate(getSampleRate()); in open() 152 setSampleRate(configurationOutput.getSampleRate()); in open() 191 burstMicros = framesPerBurst * static_cast<int64_t>(1000000) / getSampleRate(); in open() 211 mClockModel.setSampleRate(getSampleRate()); in open() 330 / getSampleRate(); in requestStart() 346 / getSampleRate(); in calculateReasonableTimeout()
|
D | IsochronousClockModel.h | 59 int32_t getSampleRate() const { in getSampleRate() function
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothCodecStatus.java | 108 int sampleRate = codecConfig.getSampleRate(); in isCodecConfigSelectable() 109 if ((sampleRate & selectableConfig.getSampleRate()) == 0 in isCodecConfigSelectable()
|
D | BluetoothAudioConfig.java | 93 public int getSampleRate() { in getSampleRate() method in BluetoothAudioConfig
|
/frameworks/av/services/audioflinger/ |
D | AudioStreamOut.cpp | 178 uint32_t AudioStreamOut::getSampleRate() const in getSampleRate() function in android::AudioStreamOut 181 return stream->getSampleRate(&result) == OK ? result : 0; in getSampleRate()
|
D | AudioStreamOut.h | 92 virtual uint32_t getSampleRate() const;
|
D | SpdifStreamOut.h | 79 virtual uint32_t getSampleRate() const { return mApplicationSampleRate; } in getSampleRate() function
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
D | mp3reader.h | 37 uint32_t getSampleRate() { return mSampleRate;} in getSampleRate() function
|
D | mp3dec_test.cpp | 79 sfInfo.samplerate = mp3Reader.getSampleRate(); in main()
|
/frameworks/av/media/codec2/components/flac/ |
D | C2SoftFlacEnc.cpp | 101 uint32_t getSampleRate() const { return mSampleRate->value; } in getSampleRate() function in android::C2SoftFlacEnc::IntfImpl 248 const uint32_t sampleRate = mIntf->getSampleRate(); in process() 367 …OGV("%s numChannel=%d, sampleRate=%d", __func__, mIntf->getChannelCount(), mIntf->getSampleRate()); in configureEncoder() 378 ok = ok && FLAC__stream_encoder_set_sample_rate(mFlacStreamEncoder, mIntf->getSampleRate()); in configureEncoder()
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioSimpleRecorder.h | 60 return getSampleRate(); // alias in getFramesPerSecond() 66 int32_t getSampleRate() const { in getSampleRate() function
|
/frameworks/av/media/libstagefright/flac/dec/ |
D | FLACDecoder.h | 56 unsigned getSampleRate() const { in getSampleRate() function
|
D | FLACDecoder.cpp | 373 if (mWriteHeader.sample_rate != getSampleRate() || in decodeOneFrame() 377 getSampleRate(), getChannels(), getBitsPerSample(), in decodeOneFrame()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTrigger.java | 803 dest.writeInt(captureFormat.getSampleRate()); in writeToParcel() 822 result = prime * result + captureFormat.getSampleRate(); in hashCode() 863 if (captureFormat.getSampleRate() != other.captureFormat.getSampleRate()) in equals() 882 (", sampleRate=" + captureFormat.getSampleRate())) in toString() 1224 dest.writeInt(captureFormat.getSampleRate()); in writeToParcel() 1270 (", sampleRate=" + captureFormat.getSampleRate())) in toString()
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioPolicyConfig.java | 96 dest.writeInt(mix.getFormat().getSampleRate()); in writeToParcel() 166 textDump += " rate=" + mix.getFormat().getSampleRate() + "Hz\n"; in toLogFriendlyString()
|
/frameworks/av/media/codec2/components/aac/ |
D | C2SoftAacEnc.cpp | 119 uint32_t getSampleRate() const { return mSampleRate->value; } in getSampleRate() function in android::C2SoftAacEnc::IntfImpl 248 mIntf->getSampleRate(), mIntf->getChannelCount(), mIntf->getBitrate(), in setAudioParams() 257 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_SAMPLERATE, mIntf->getSampleRate())) { in setAudioParams() 309 uint32_t sampleRate = mIntf->getSampleRate(); in process()
|
/frameworks/av/media/libaaudio/src/core/ |
D | AAudioStreamParameters.h | 40 int32_t getSampleRate() const { in getSampleRate() function
|