/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 | 109 mSampleRate = mAudioStream->getSampleRate(); in openStream() 145 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/google/sample/oboe/manualtest/ |
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 | 76 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()
|
D | TestAudioActivity.java | 77 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/ |
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 | 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/apps/OboeTester/app/src/main/cpp/analyzer/ |
D | LatencyAnalyzer.h | 160 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/ |
D | LiveEffectEngine.cpp | 89 mSampleRate = oboe::kUnspecified; in openStreams() 93 mSampleRate = mPlayStream->getSampleRate(); in openStreams() 97 setupRecordingStreamParameters(&inBuilder, mSampleRate); in openStreams()
|
D | LiveEffectEngine.h | 61 int32_t mSampleRate = oboe::kUnspecified; variable
|
/external/oboe/include/oboe/ |
D | AudioStreamBase.h | 62 int32_t getSampleRate() const { return mSampleRate; } in getSampleRate() 192 int32_t mSampleRate = kUnspecified; variable
|
/external/webrtc/modules/audio_device/mac/ |
D | audio_device_mac.cc | 1045 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/ |
D | AudioStreamOpenSLES.cpp | 72 LOGI("AudioStreamOpenSLES::open() chans=%d, rate=%d", mChannelCount, mSampleRate); in open() 84 if (mSampleRate == kUnspecified) { in open() 85 mSampleRate = DefaultStreamValues::SampleRate; in open()
|
D | AudioInputStreamOpenSLES.cpp | 109 static_cast<SLuint32>(mSampleRate * kMillisPerSecond), // milliSamplesPerSec in open() 207 oboeResult = configureBufferSizes(mSampleRate); in open()
|
D | AudioOutputStreamOpenSLES.cpp | 151 static_cast<SLuint32>(mSampleRate * kMillisPerSecond), // milliSamplesPerSec in open() 226 oboeResult = configureBufferSizes(mSampleRate); in open()
|
/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 | 280 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/ |
D | AudioStreamAAudio.cpp | 212 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()
|