/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
D | OboeAudioStream.java | 60 requestedConfiguration.getSampleRate(), in open() 82 actualConfiguration.setSampleRate(getSampleRate()); in open() 173 public int getSampleRate() { in getSampleRate() method in OboeAudioStream 174 return getSampleRate(streamIndex); in getSampleRate() 176 public native int getSampleRate(int streamIndex); in getSampleRate() method in OboeAudioStream
|
D | AudioMidiTester.java | 160 int numSamples = (int) (mRecorder.getSampleRate() * ANALYSIS_TIME_DELAY); in trigger() 177 int numSamples = (int) (mRecorder.getSampleRate() * ANALYSIS_TIME_TOTAL); in analyzeCapturedAudio() 184 result.frameRate = mRecorder.getSampleRate(); in analyzeCapturedAudio()
|
D | AudioStreamBase.java | 162 public int getSampleRate() { in getSampleRate() method in AudioStreamBase 163 return mActualStreamConfiguration.getSampleRate(); in getSampleRate()
|
/external/oboe/src/common/ |
D | AudioStreamBuilder.cpp | 85 return (getSampleRate() == oboe::Unspecified || getSampleRate() == other.getSampleRate()) in isCompatible() 132 if (getSampleRate() == oboe::Unspecified) { in openStream() 133 parentBuilder.setSampleRate(tempStream->getSampleRate()); in openStream()
|
D | QuirksManager.cpp | 57 builder.getSampleRate() == oboe::Unspecified in isAAudioMMapPossible() 58 || builder.getSampleRate() == kCommonNativeRate in isAAudioMMapPossible() 164 if (builder.getSampleRate() != oboe::Unspecified in isConversionNeeded()
|
D | FilterAudioStream.cpp | 51 mRateScaler = ((double) sourceStream->getSampleRate()) / sinkStream->getSampleRate(); in configureFlowGraph()
|
D | StabilizedCallback.cpp | 53 int64_t idealStartTimeNanos = (mFrameCount * kNanosPerSecond) / oboeStream->getSampleRate(); in onAudioReady() 63 int64_t numFramesAsNanos = (numFrames * kNanosPerSecond) / oboeStream->getSampleRate(); in onAudioReady()
|
D | DataConversionFlowGraph.cpp | 84 int32_t sourceSampleRate = sourceStream->getSampleRate(); in configure() 89 int32_t sinkSampleRate = sinkStream->getSampleRate(); in configure()
|
/external/skia/modules/audioplayer/ |
D | SkAudioPlayer_oboe.cpp | 33 builder.setSampleRate(fReader->getSampleRate()); in OboeAudioPlayer() 73 return fNumSampleFrames * fStream->getChannelCount() / fStream->getSampleRate(); in onGetDuration() 77 return (fReadFrameIndex * fStream->getChannelCount()) / fStream->getSampleRate(); in onGetTime() 81 fReadFrameIndex = (t * fStream->getSampleRate()) / fStream->getChannelCount(); in onSetTime()
|
/external/oboe/apps/OboeTester/app/src/main/cpp/analyzer/ |
D | LatencyAnalyzer.h | 163 int32_t getSampleRate() const { in getSampleRate() function 336 int32_t getSampleRate() const { in getSampleRate() function 391 int32_t maxLatencyFrames = getSampleRate() * kMaxLatencyMillis / kMillisPerSecond; in PulseLatencyAnalyzer() 392 int32_t numPulseBits = getSampleRate() * kPulseLengthMillis in PulseLatencyAnalyzer() 397 mAudioRecording.setSampleRate(getSampleRate()); in PulseLatencyAnalyzer() 421 mDownCounter = (int32_t) (getSampleRate() * kBackgroundMeasurementLengthSeconds); in reset() 475 / getSampleRate(); in analyze()
|
/external/oboe/apps/OboeTester/app/src/main/cpp/ |
D | FullDuplexEcho.cpp | 21 int32_t delayFrames = (int32_t) (kMaxDelayTimeSeconds * getOutputStream()->getSampleRate()); in start() 42 float delayFrames = mDelayTimeSeconds * getOutputStream()->getSampleRate(); in onBothStreamsReady()
|
D | NativeAudioContext.cpp | 219 mSampleRate = oboeStream->getSampleRate(); in open() 347 mTriangleOscillator.setSampleRate(outputStream->getSampleRate()); in configureForStart() 353 mLinearShape.setMaximum(outputStream->getSampleRate() * 0.5); // Nyquist in configureForStart() 356 mExponentialShape.setMaximum(outputStream->getSampleRate() * 0.5); // Nyquist in configureForStart() 363 sineOscillators[i].setSampleRate(outputStream->getSampleRate()); in configureForStart() 515 sawPingGenerator.setSampleRate(outputStream->getSampleRate()); in configureForStart() 643 sineOscillator->setSampleRate(outputStream->getSampleRate()); in configureForStart()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
D | AudioSampleEntry.java | 81 public long getSampleRate() { in getSampleRate() method in AudioSampleEntry 261 IsoTypeWriter.writeUInt32(byteBuffer, getSampleRate()); in getContent() 263 IsoTypeWriter.writeUInt32(byteBuffer, getSampleRate() << 16); in getContent()
|
/external/webrtc/sdk/android/src/java/org/webrtc/audio/ |
D | WebRtcAudioRecord.java | 150 audioRecord.getChannelCount(), audioRecord.getSampleRate(), data)); in run() 430 + "sample rate: " + audioRecord.getSampleRate()); in logMainParameters() 623 .append(format.getSampleRate()) in logActiveRecordingConfigs() 638 .append(format.getSampleRate()) in logActiveRecordingConfigs() 672 && (config.getClientFormat().getSampleRate() == format.getSampleRate()) in verifyAudioConfig() 677 && (config.getFormat().getSampleRate() > 0) in verifyAudioConfig()
|
/external/oboe/apps/fxlab/app/src/main/cpp/ |
D | DuplexEngine.cpp | 35 SAMPLE_RATE = inStream->getSampleRate(); in beginStreams() 68 ->setSampleRate(inStream->getSampleRate()) in openOutStream()
|
/external/webrtc/sdk/android/api/org/webrtc/audio/ |
D | JavaAudioDeviceModule.java | 52 this.inputSampleRate = WebRtcAudioManager.getSampleRate(audioManager); in Builder() 53 this.outputSampleRate = WebRtcAudioManager.getSampleRate(audioManager); in Builder() 268 public int getSampleRate() { in getSampleRate() method in JavaAudioDeviceModule.AudioSamples
|
/external/oboe/samples/hello-oboe/src/main/cpp/ |
D | HelloOboeEngine.cpp | 59 … int64_t frameTimeDelta = (frameIndexDelta * oboe::kNanosPerSecond) / (mStream->getSampleRate()); in getCurrentOutputLatencyMillis() 138 mAudioSource = std::make_shared<SoundGenerator>(mStream->getSampleRate(), in start()
|
/external/exoplayer/tree/extensions/flac/src/main/jni/include/ |
D | flac_parser.h | 54 unsigned getSampleRate() const { return mStreamInfo.sample_rate; } in getSampleRate() function 74 return (1000000LL * mWriteHeader.number.sample_number) / getSampleRate(); in getLastFrameTimestamp()
|
/external/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
D | WebRtcAudioRecord.java | 101 this.sampleRate = audioRecord.getSampleRate(); in AudioSamples() 113 public int getSampleRate() { in getSampleRate() method in WebRtcAudioRecord.AudioSamples 332 + "sample rate: " + audioRecord.getSampleRate()); in logMainParameters()
|
/external/oboe/samples/RhythmGame/src/main/cpp/ |
D | Game.cpp | 129 mAudioStream->getSampleRate()); in onAudioReady() 212 .sampleRate = mAudioStream->getSampleRate() in setupAudioSources()
|
/external/exoplayer/tree/extensions/flac/src/main/jni/ |
D | flac_parser.cc | 389 if (mWriteHeader.sample_rate != getSampleRate() || in readBuffer() 395 getSampleRate(), getChannels(), getBitsPerSample(), in readBuffer() 427 unsigned sampleRate = getSampleRate(); in getSeekPositions()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
D | SyncSampleIntersectFinderImpl.java | 99 if (ase.getSampleRate() < minSampleRate) { in sampleNumbers() 100 minSampleRate = ase.getSampleRate(); in sampleNumbers() 118 double factor = (double) ase.getSampleRate() / (double) minSampleRate; in sampleNumbers()
|
/external/oboe/samples/parselib/src/main/cpp/wav/ |
D | WavStreamReader.h | 38 int getSampleRate() { return mFmtChunk->mSampleRate; } in getSampleRate() function
|
/external/oboe/apps/OboeTester/app/src/main/cpp/flowunits/ |
D | OscillatorBase.h | 43 float getSampleRate() { in getSampleRate() function
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
D | AppendTrack.java | 106 if (ase1.getSampleRate() == ase2.getSampleRate()) { in mergeAudioSampleEntries() 107 ase.setSampleRate(ase1.getSampleRate()); in mergeAudioSampleEntries()
|