/external/oboe/samples/iolib/src/main/cpp/player/ |
D | SampleBuffer.cpp | 51 int32_t mSampleRate; member in iolib::ResampleBlock 59 ((double)input.mNumFrames * (double)output->mSampleRate) / (double)input.mSampleRate; in resampleData() 69 input.mSampleRate, // input sampleRate in resampleData() 70 output->mSampleRate, // output sampleRate in resampleData() 104 inputBlock.mSampleRate = mAudioProperties.sampleRate; in resampleData() 107 outputBlock.mSampleRate = sampleRate; in resampleData() 116 mAudioProperties.sampleRate = outputBlock.mSampleRate; in resampleData()
|
D | SimpleMultiPlayer.h | 50 int getSampleRate() { return mSampleRate; } in getSampleRate() 85 int32_t mSampleRate; variable
|
D | SimpleMultiPlayer.cpp | 110 mSampleRate = mAudioStream->getSampleRate(); in openStream() 146 buffer->resampleData(mSampleRate); in addSampleSource()
|
/external/oboe/samples/parselib/src/main/cpp/wav/ |
D | WavFmtChunkHeader.cpp | 31 mSampleRate = 0; in WavFmtChunkHeader() 41 mSampleRate = 0; in WavFmtChunkHeader() 51 mAveBytesPerSecond = mSampleRate * mBlockAlign; in normalize() 62 stream->read(&mSampleRate, sizeof(mSampleRate)); in read()
|
D | WavFmtChunkHeader.h | 39 RiffInt32 mSampleRate; variable
|
D | WavStreamReader.h | 38 int getSampleRate() { return mFmtChunk->mSampleRate; } in getSampleRate()
|
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/oboetester/ |
D | AudioRecordThread.java | 31 private final int mSampleRate; field in AudioRecordThread 44 mSampleRate = frameRate; in AudioRecordThread() 53 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSampleRate, in createRecorder() 58 mSampleRate, in createRecorder() 102 return mSampleRate; in getSampleRate()
|
D | StreamConfiguration.java | 268 private int mSampleRate; field in StreamConfiguration 320 mSampleRate = UNSPECIFIED; in reset() 590 message.append(String.format("%s.rate = %d\n", prefix, mSampleRate)); in dump() 660 return mSampleRate; in getSampleRate() 664 this.mSampleRate = sampleRate; in setSampleRate()
|
D | TestAudioActivity.java | 91 private int mSampleRate; field in TestAudioActivity 498 return mSampleRate; in getSampleRate() 559 mSampleRate = actualConfig.getSampleRate(); in openStreamContext()
|
/external/oboe/src/opensles/ |
D | AudioStreamOpenSLES.cpp | 71 LOGI("AudioStreamOpenSLES::open() chans=%d, rate=%d", mChannelCount, mSampleRate); in open() 91 if (mSampleRate == kUnspecified) { in open() 92 mSampleRate = DefaultStreamValues::SampleRate; in open() 121 Result oboeResult = configureBufferSizes(mSampleRate); in finishCommonOpen() 169 sampleRate = (mSampleRate > 0) ? mSampleRate : sampleRate; in estimateNativeFramesPerBurst() 181 __func__, numBursts, mSampleRate, framesPerBurst); in estimateNativeFramesPerBurst() 188 __func__, mSampleRate, mFramesPerBurst, mFramesPerCallback); in configureBufferSizes() 192 __func__, mSampleRate, mFramesPerBurst, mFramesPerCallback); in configureBufferSizes()
|
/external/oboe/apps/OboeTester/app/src/main/cpp/flowunits/ |
D | OscillatorBase.h | 39 mSampleRate = sampleRate; in setSampleRate() 44 return mSampleRate; in getSampleRate() 95 float mSampleRate = 0.0f; variable
|
/external/oboe/samples/shared/ |
D | Oscillator.h | 44 mSampleRate = sampleRate; in setSampleRate() 87 int32_t mSampleRate = kDefaultSampleRate; variable 90 mPhaseIncrement.store((kTwoPi * mFrequency) / static_cast<double>(mSampleRate)); in updatePhaseIncrement()
|
D | SynthSound.h | 54 mSampleRate = sampleRate; in setSampleRate() 101 std::atomic<int32_t> mSampleRate { kDefaultSampleRate }; 106 mPhaseIncrement = kTwoPi * mFrequency / static_cast<float>(mSampleRate); in updatePhaseIncrement()
|
D | TappableAudioSource.h | 32 mSampleRate(sampleRate), mChannelCount(channelCount) { } in TappableAudioSource() 34 int32_t mSampleRate; variable
|
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/ |
D | SynthEngine.java | 56 private int mSampleRate; field in SynthEngine 129 mSampleRate = mAudioOutput.getFrameRate(); // rate is now valid in run() 241 return new SineVoice(mSampleRate); in createVoice() 243 return new SawVoice(mSampleRate); in createVoice()
|
/external/oboe/samples/LiveEffect/src/main/cpp/ |
D | LiveEffectEngine.cpp | 88 mSampleRate = oboe::kUnspecified; in openStreams() 92 mSampleRate = mPlayStream->getSampleRate(); in openStreams() 96 setupRecordingStreamParameters(&inBuilder, mSampleRate); in openStreams()
|
D | LiveEffectEngine.h | 61 int32_t mSampleRate = oboe::kUnspecified; variable
|
/external/oboe/apps/OboeTester/app/src/main/cpp/analyzer/ |
D | LatencyAnalyzer.h | 166 mSampleRate = sampleRate; in setSampleRate() 170 return mSampleRate; in getSampleRate() 220 int32_t mSampleRate = kDefaultSampleRate; // common default variable 353 mSampleRate = sampleRate; in setSampleRate() 357 return mSampleRate; in getSampleRate() 374 int32_t mSampleRate = kDefaultSampleRate;
|
/external/oboe/include/oboe/ |
D | AudioStreamBase.h | 63 int32_t getSampleRate() const { return mSampleRate; } in getSampleRate() 202 int32_t mSampleRate = kUnspecified; variable
|
D | AudioStreamBuilder.h | 98 mSampleRate = sampleRate; in setSampleRate()
|
/external/webrtc/modules/audio_device/mac/ |
D | audio_device_mac.cc | 1038 RTC_LOG(LS_VERBOSE) << "mSampleRate = " << _outStreamFormat.mSampleRate in InitPlayout() 1142 _inStreamFormat.mSampleRate / 100 * in InitRecording() 1152 RTC_LOG(LS_VERBOSE) << "mSampleRate = " << _inStreamFormat.mSampleRate in InitRecording() 1181 _inDesiredFormat.mSampleRate = N_REC_SAMPLES_PER_SEC; in InitRecording() 1202 (UInt32)((_inStreamFormat.mSampleRate / 1000.0) * 10.0 * N_BLOCKS_IO * in InitRecording() 1236 _captureLatencyUs = (UInt32)((1.0e6 * latency) / _inStreamFormat.mSampleRate); in InitRecording() 1250 (UInt32)((1.0e6 * latency) / _inStreamFormat.mSampleRate); in InitRecording() 1795 _outDesiredFormat.mSampleRate = N_PLAY_SAMPLES_PER_SEC; in SetDesiredPlayoutFormat() 1830 (_outStreamFormat.mSampleRate / 1000.0) * kPlayBufDelayFixed * in SetDesiredPlayoutFormat() 1867 static_cast<uint32_t>((1.0e6 * latency) / _outStreamFormat.mSampleRate); in SetDesiredPlayoutFormat() [all …]
|
/external/oboe/samples/hello-oboe/src/main/cpp/ |
D | SoundGenerator.cpp | 30 mOscillators[i].setSampleRate(mSampleRate); in SoundGenerator()
|
/external/oboe/samples/MegaDrone/src/main/cpp/ |
D | Synth.h | 39 mOscs[i].setSampleRate(mSampleRate); in Synth()
|
/external/oboe/apps/OboeTester/app/src/main/cpp/ |
D | NativeAudioContext.h | 290 SECONDS_TO_RECORD * mSampleRate); in createRecording() 308 int32_t mSampleRate = 0; // TODO per stream variable 486 SECONDS_TO_RECORD * mSampleRate); in createRecording()
|
/external/oboe/src/aaudio/ |
D | AudioStreamAAudio.cpp | 223 mLibLoader->builder_setSampleRate(aaudioBuilder, mSampleRate); in open() 298 mSampleRate = mLibLoader->stream_getSampleRate(mAAudioStream); in open() 328 static_cast<int>(mFormat), static_cast<int>(mSampleRate), in open()
|