Home
last modified time | relevance | path

Searched refs:mSampleRate (Results 1 – 25 of 30) sorted by relevance

12

/external/oboe/samples/iolib/src/main/cpp/player/
DSampleBuffer.cpp51 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()
DSimpleMultiPlayer.h50 int getSampleRate() { return mSampleRate; } in getSampleRate()
85 int32_t mSampleRate; variable
DSimpleMultiPlayer.cpp110 mSampleRate = mAudioStream->getSampleRate(); in openStream()
146 buffer->resampleData(mSampleRate); in addSampleSource()
/external/oboe/samples/parselib/src/main/cpp/wav/
DWavFmtChunkHeader.cpp31 mSampleRate = 0; in WavFmtChunkHeader()
41 mSampleRate = 0; in WavFmtChunkHeader()
51 mAveBytesPerSecond = mSampleRate * mBlockAlign; in normalize()
62 stream->read(&mSampleRate, sizeof(mSampleRate)); in read()
DWavFmtChunkHeader.h39 RiffInt32 mSampleRate; variable
DWavStreamReader.h38 int getSampleRate() { return mFmtChunk->mSampleRate; } in getSampleRate()
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/oboetester/
DAudioRecordThread.java31 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()
DStreamConfiguration.java268 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()
DTestAudioActivity.java91 private int mSampleRate; field in TestAudioActivity
498 return mSampleRate; in getSampleRate()
559 mSampleRate = actualConfig.getSampleRate(); in openStreamContext()
/external/oboe/src/opensles/
DAudioStreamOpenSLES.cpp71 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/
DOscillatorBase.h39 mSampleRate = sampleRate; in setSampleRate()
44 return mSampleRate; in getSampleRate()
95 float mSampleRate = 0.0f; variable
/external/oboe/samples/shared/
DOscillator.h44 mSampleRate = sampleRate; in setSampleRate()
87 int32_t mSampleRate = kDefaultSampleRate; variable
90 mPhaseIncrement.store((kTwoPi * mFrequency) / static_cast<double>(mSampleRate)); in updatePhaseIncrement()
DSynthSound.h54 mSampleRate = sampleRate; in setSampleRate()
101 std::atomic<int32_t> mSampleRate { kDefaultSampleRate };
106 mPhaseIncrement = kTwoPi * mFrequency / static_cast<float>(mSampleRate); in updatePhaseIncrement()
DTappableAudioSource.h32 mSampleRate(sampleRate), mChannelCount(channelCount) { } in TappableAudioSource()
34 int32_t mSampleRate; variable
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/
DSynthEngine.java56 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/
DLiveEffectEngine.cpp88 mSampleRate = oboe::kUnspecified; in openStreams()
92 mSampleRate = mPlayStream->getSampleRate(); in openStreams()
96 setupRecordingStreamParameters(&inBuilder, mSampleRate); in openStreams()
DLiveEffectEngine.h61 int32_t mSampleRate = oboe::kUnspecified; variable
/external/oboe/apps/OboeTester/app/src/main/cpp/analyzer/
DLatencyAnalyzer.h166 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/
DAudioStreamBase.h63 int32_t getSampleRate() const { return mSampleRate; } in getSampleRate()
202 int32_t mSampleRate = kUnspecified; variable
DAudioStreamBuilder.h98 mSampleRate = sampleRate; in setSampleRate()
/external/webrtc/modules/audio_device/mac/
Daudio_device_mac.cc1038 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/
DSoundGenerator.cpp30 mOscillators[i].setSampleRate(mSampleRate); in SoundGenerator()
/external/oboe/samples/MegaDrone/src/main/cpp/
DSynth.h39 mOscs[i].setSampleRate(mSampleRate); in Synth()
/external/oboe/apps/OboeTester/app/src/main/cpp/
DNativeAudioContext.h290 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/
DAudioStreamAAudio.cpp223 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()

12