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.cpp109 mSampleRate = mAudioStream->getSampleRate(); in openStream()
145 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/google/sample/oboe/manualtest/
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.java76 private int mSampleRate; field in StreamConfiguration
99 mSampleRate = UNSPECIFIED; in reset()
230 message.append(String.format("%s.rate = %d\n", prefix, mSampleRate)); in dump()
300 return mSampleRate; in getSampleRate()
304 this.mSampleRate = sampleRate; in setSampleRate()
DTestAudioActivity.java77 private int mSampleRate; field in TestAudioActivity
395 return mSampleRate; in getSampleRate()
456 mSampleRate = actualConfig.getSampleRate(); in openStreamContext()
/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()
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/apps/OboeTester/app/src/main/cpp/analyzer/
DLatencyAnalyzer.h160 mSampleRate = sampleRate; in setSampleRate()
164 return mSampleRate; in getSampleRate()
199 int32_t mSampleRate = kDefaultSampleRate; // common default variable
333 mSampleRate = sampleRate; in setSampleRate()
337 return mSampleRate; in getSampleRate()
354 int32_t mSampleRate = kDefaultSampleRate;
/external/oboe/samples/LiveEffect/src/main/cpp/
DLiveEffectEngine.cpp89 mSampleRate = oboe::kUnspecified; in openStreams()
93 mSampleRate = mPlayStream->getSampleRate(); in openStreams()
97 setupRecordingStreamParameters(&inBuilder, mSampleRate); in openStreams()
DLiveEffectEngine.h61 int32_t mSampleRate = oboe::kUnspecified; variable
/external/oboe/include/oboe/
DAudioStreamBase.h62 int32_t getSampleRate() const { return mSampleRate; } in getSampleRate()
192 int32_t mSampleRate = kUnspecified; variable
/external/webrtc/modules/audio_device/mac/
Daudio_device_mac.cc1045 RTC_LOG(LS_VERBOSE) << "mSampleRate = " << _outStreamFormat.mSampleRate in InitPlayout()
1149 _inStreamFormat.mSampleRate / 100 * in InitRecording()
1159 RTC_LOG(LS_VERBOSE) << "mSampleRate = " << _inStreamFormat.mSampleRate in InitRecording()
1188 _inDesiredFormat.mSampleRate = N_REC_SAMPLES_PER_SEC; in InitRecording()
1209 (UInt32)((_inStreamFormat.mSampleRate / 1000.0) * 10.0 * N_BLOCKS_IO * in InitRecording()
1243 _captureLatencyUs = (UInt32)((1.0e6 * latency) / _inStreamFormat.mSampleRate); in InitRecording()
1257 (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/src/opensles/
DAudioStreamOpenSLES.cpp72 LOGI("AudioStreamOpenSLES::open() chans=%d, rate=%d", mChannelCount, mSampleRate); in open()
84 if (mSampleRate == kUnspecified) { in open()
85 mSampleRate = DefaultStreamValues::SampleRate; in open()
DAudioInputStreamOpenSLES.cpp109 static_cast<SLuint32>(mSampleRate * kMillisPerSecond), // milliSamplesPerSec in open()
207 oboeResult = configureBufferSizes(mSampleRate); in open()
DAudioOutputStreamOpenSLES.cpp151 static_cast<SLuint32>(mSampleRate * kMillisPerSecond), // milliSamplesPerSec in open()
226 oboeResult = configureBufferSizes(mSampleRate); in open()
/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.h280 SECONDS_TO_RECORD * mSampleRate); in createRecording()
298 int32_t mSampleRate = 0; // TODO per stream variable
471 SECONDS_TO_RECORD * mSampleRate); in createRecording()
/external/oboe/src/aaudio/
DAudioStreamAAudio.cpp212 mLibLoader->builder_setSampleRate(aaudioBuilder, mSampleRate); in open()
278 mSampleRate = mLibLoader->stream_getSampleRate(mAAudioStream); in open()
303 static_cast<int>(mFormat), static_cast<int>(mSampleRate), in open()

12