/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() 155 if (configuration.getSampleRate() != AAUDIO_UNSPECIFIED && in matches() 156 configuration.getSampleRate() != getSampleRate()) { in matches()
|
D | AAudioServiceEndpointShared.cpp | 77 setSampleRate(mStreamInternal->getSampleRate()); in open() 114 / getSampleRate(); in startSharingThread_l()
|
/frameworks/av/media/extractors/flac/ |
D | FLACExtractor.cpp | 115 unsigned getSampleRate() const { in getSampleRate() function in android::FLACParser 538 if (getSampleRate() < 8000 || getSampleRate() > 192000) { in init() 539 ALOGE("unsupported sample rate %u", getSampleRate()); in init() 549 AMEDIAFORMAT_KEY_SAMPLE_RATE, getSampleRate()); in init() 554 AMEDIAFORMAT_KEY_DURATION, (getTotalSamples() * 1000000LL) / getSampleRate()); in init() 607 if (mWriteHeader.sample_rate != getSampleRate() || in readBuffer() 611 getSampleRate(), getChannels(), getBitsPerSample(), in readBuffer() 643 int64_t timeUs = (1000000LL * sampleNumber) / getSampleRate(); in readBuffer() 720 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL; in read()
|
/frameworks/av/media/libaaudio/examples/loopback/src/analyzer/ |
D | LatencyAnalyzer.h | 163 int32_t getSampleRate() const { in getSampleRate() function 325 int32_t getSampleRate() const { in getSampleRate() function 380 int32_t maxLatencyFrames = getSampleRate() * kMaxLatencyMillis / kMillisPerSecond; in PulseLatencyAnalyzer() 381 int32_t numPulseBits = getSampleRate() * kPulseLengthMillis in PulseLatencyAnalyzer() 386 mAudioRecording.setSampleRate(getSampleRate()); in PulseLatencyAnalyzer() 409 mDownCounter = getSampleRate() / 2; in reset() 464 / getSampleRate(); in analyze()
|
D | GlitchAnalyzer.h | 159 mForceGlitchCounter = getSampleRate(); in processInputFrame() 368 mSinePeriod = getSampleRate() / kTargetGlitchFrequency; in prepareToTest()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamRecord.cpp | 114 && (getSampleRate() == kMostLikelySampleRateForFast in open() 115 || getSampleRate() == AAUDIO_UNSPECIFIED)) { in open() 165 getSampleRate(), in open() 214 int32_t actualSampleRate = mAudioRecord->getSampleRate(); in open() 215 ALOGW_IF(actualSampleRate != getSampleRate(), in open() 217 getSampleRate(), actualSampleRate); in open()
|
D | AudioStreamTrack.cpp | 153 getSampleRate(), in open() 197 int32_t actualSampleRate = mAudioTrack->getSampleRate(); in open() 198 ALOGW_IF(actualSampleRate != getSampleRate(), in open() 200 getSampleRate(), actualSampleRate); in open() 282 || mAudioTrack->getSampleRate() != getSampleRate() in processCallback()
|
/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/media/libaaudio/src/client/ |
D | AudioStreamInternal.cpp | 117 request.getConfiguration().setSampleRate(getSampleRate()); in open() 163 setSampleRate(configurationOutput.getSampleRate()); in open() 203 burstMicros = framesPerBurst * static_cast<int64_t>(1000000) / getSampleRate(); in open() 224 mClockModel.setSampleRate(getSampleRate()); in open() 373 / getSampleRate(); in requestStart() 389 / getSampleRate(); in calculateReasonableTimeout()
|
D | IsochronousClockModel.h | 62 int32_t getSampleRate() const { 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/services/audioflinger/ |
D | AudioStreamOut.cpp | 182 uint32_t AudioStreamOut::getSampleRate() const in getSampleRate() function in android::AudioStreamOut 185 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/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/base/media/jni/soundpool/ |
D | Sound.h | 68 uint32_t getSampleRate() const { return mSampleRate; } 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/media/java/android/media/audiopolicy/ |
D | AudioPolicyConfig.java | 96 dest.writeInt(mix.getFormat().getSampleRate()); in writeToParcel() 170 textDump += " rate=" + mix.getFormat().getSampleRate() + "Hz\n"; in toLogFriendlyString()
|
/frameworks/av/media/libaaudio/src/core/ |
D | AAudioStreamParameters.h | 40 int32_t getSampleRate() const { in getSampleRate() function
|
/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() 333 uint32_t sampleRate = mIntf->getSampleRate(); in process()
|