/third_party/skia/third_party/externals/oboe/samples/iolib/src/main/cpp/player/ |
D | SampleBuffer.cpp | 31 mAudioProperties.sampleRate = reader->getSampleRate(); in loadSampleData() 95 void SampleBuffer::resampleData(int sampleRate) { in resampleData() argument 96 if (mAudioProperties.sampleRate == sampleRate) { in resampleData() 104 inputBlock.mSampleRate = mAudioProperties.sampleRate; in resampleData() 107 outputBlock.mSampleRate = sampleRate; in resampleData() 116 mAudioProperties.sampleRate = outputBlock.mSampleRate; in resampleData()
|
D | SampleBuffer.h | 29 int32_t sampleRate; member 41 void resampleData(int sampleRate);
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/ |
D | NDKExtractor.cpp | 48 int32_t sampleRate; in decode() local 49 if (AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, &sampleRate)){ in decode() 50 LOGD("Source sample rate %d", sampleRate); in decode() 51 if (sampleRate != targetProperties.sampleRate){ in decode() 54 sampleRate, in decode() 55 targetProperties.sampleRate); in decode()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
D | AutoGlitchActivity.java | 157 int sampleRate, in testConfiguration() argument 176 requestedInConfig.setSampleRate(sampleRate); in testConfiguration() 177 requestedOutConfig.setSampleRate(sampleRate); in testConfiguration() 271 int sampleRate) throws InterruptedException { in testConfiguration() argument 274 sampleRate, 1, 2); in testConfiguration() 277 sampleRate, 2, 1); in testConfiguration() 300 for (int sampleRate : SAMPLE_RATES) { in run() 303 sampleRate); in run()
|
D | TestAudioActivity.java | 382 int sampleRate = 0; in openAudio() local 391 if (sampleRate == 0) { in openAudio() 392 sampleRate = streamSampleRate; in openAudio() 398 if (sampleRate != 0) { in openAudio() 399 streamContext.tester.requestedConfiguration.setSampleRate(sampleRate); in openAudio()
|
D | ManualGlitchActivity.java | 198 int sampleRate = bundle.getInt(KEY_SAMPLE_RATE, VALUE_DEFAULT_SAMPLE_RATE); in configureStreamsFromBundle() local 199 requestedInConfig.setSampleRate(sampleRate); in configureStreamsFromBundle() 200 requestedOutConfig.setSampleRate(sampleRate); in configureStreamsFromBundle()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/flowunits/ |
D | OscillatorBase.h | 38 void setSampleRate(float sampleRate) { in setSampleRate() argument 39 mSampleRate = sampleRate; in setSampleRate() 40 mFrequencyToPhaseIncrement = 2.0f / sampleRate; // -1 to +1 is a range of 2 in setSampleRate()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/analyzer/ |
D | LatencyAnalyzer.h | 159 void setSampleRate(int32_t sampleRate) { in setSampleRate() argument 160 mSampleRate = sampleRate; in setSampleRate() 332 virtual void setSampleRate(int32_t sampleRate) { in setSampleRate() argument 333 mSampleRate = sampleRate; in setSampleRate() 413 void setSampleRate(int32_t sampleRate) override { in setSampleRate() argument 414 LoopbackProcessor::setSampleRate(sampleRate); in setSampleRate() 415 mAudioRecording.setSampleRate(sampleRate); in setSampleRate()
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/emscripten/ |
D | SDL_emscriptenaudio.c | 304 const int sampleRate = EM_ASM_INT_V({ in EMSCRIPTENAUDIO_OpenDevice() local 305 return SDL2.audioContext.sampleRate; in EMSCRIPTENAUDIO_OpenDevice() 308 if(this->spec.freq != sampleRate) { in EMSCRIPTENAUDIO_OpenDevice() 310 f = (float)i / (float)sampleRate * (float)this->spec.freq; in EMSCRIPTENAUDIO_OpenDevice() 317 this->spec.freq = sampleRate; in EMSCRIPTENAUDIO_OpenDevice() 364 … SDL2.capture.silenceBuffer = SDL2.audioContext.createBuffer($0, $1, SDL2.audioContext.sampleRate); in EMSCRIPTENAUDIO_OpenDevice() 371 …L2.capture.silenceTimer = setTimeout(silence_callback, ($1 / SDL2.audioContext.sampleRate) * 1000); in EMSCRIPTENAUDIO_OpenDevice()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/ |
D | SineVoice.java | 23 public SineVoice(int sampleRate) { in SineVoice() argument 24 super(sampleRate); in SineVoice()
|
D | SawVoice.java | 26 public SawVoice(int sampleRate) { in SawVoice() argument 28 mEnvelope = new EnvelopeADSR(sampleRate); in SawVoice()
|
D | EnvelopeADSR.java | 41 public EnvelopeADSR( int sampleRate) { in EnvelopeADSR() argument 42 mSamplerate = sampleRate; in EnvelopeADSR()
|
/third_party/skia/third_party/externals/oboe/samples/shared/ |
D | TappableAudioSource.h | 31 TappableAudioSource(int32_t sampleRate, int32_t channelCount) : in TappableAudioSource() argument 32 mSampleRate(sampleRate), mChannelCount(channelCount) { } in TappableAudioSource()
|
D | Oscillator.h | 43 void setSampleRate(int32_t sampleRate) { in setSampleRate() argument 44 mSampleRate = sampleRate; in setSampleRate()
|
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/effects/utils/ |
D | SineWave.h | 25 SineWave(float frequency, float amplitude, int sampleRate): in SineWave() argument 26 mPhasor(frequency, sampleRate), in SineWave()
|
D | PhaseAccumulator.h | 26 PhaseAccumulator(float frequency, float sampleRate): in PhaseAccumulator() argument 28 fs(sampleRate) { } in PhaseAccumulator()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/utils/ |
D | UtilityFunctions.h | 33 constexpr int64_t convertFramesToMillis(const int64_t frames, const int sampleRate){ in convertFramesToMillis() argument 34 return static_cast<int64_t>((static_cast<double>(frames)/ sampleRate) * kMillisecondsInSecond); in convertFramesToMillis()
|
/third_party/skia/third_party/externals/oboe/samples/hello-oboe/src/main/cpp/ |
D | SoundGenerator.cpp | 19 SoundGenerator::SoundGenerator(int32_t sampleRate, int32_t channelCount) : in SoundGenerator() argument 20 TappableAudioSource(sampleRate, channelCount) in SoundGenerator()
|
D | jni_bridge.cpp | 156 jint sampleRate, in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1setDefaultStreamValues() argument 158 oboe::DefaultStreamValues::SampleRate = (int32_t) sampleRate; in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1setDefaultStreamValues()
|
/third_party/skia/third_party/externals/oboe/samples/MegaDrone/src/main/cpp/ |
D | Synth.h | 36 Synth(int32_t sampleRate, int32_t channelCount) : in Synth() argument 37 TappableAudioSource(sampleRate, channelCount) { in Synth()
|
D | native-lib.cpp | 82 jint sampleRate, in Java_com_google_oboe_samples_megadrone_MainActivity_native_1setDefaultStreamValues() argument 84 oboe::DefaultStreamValues::SampleRate = (int32_t) sampleRate; in Java_com_google_oboe_samples_megadrone_MainActivity_native_1setDefaultStreamValues()
|
/third_party/skia/third_party/externals/oboe/src/opensles/ |
D | AudioStreamOpenSLES.cpp | 96 Result AudioStreamOpenSLES::configureBufferSizes(int32_t sampleRate) { in configureBufferSizes() argument 98 __func__, sampleRate, mFramesPerBurst, mFramesPerCallback); in configureBufferSizes() 108 (kHighLatencyBufferSizeMillis * sampleRate) / kMillisPerSecond; in configureBufferSizes() 124 __func__, sampleRate, mFramesPerBurst, mFramesPerCallback); in configureBufferSizes()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/ |
D | native-lib.cpp | 88 jint sampleRate, in Java_com_google_oboe_samples_rhythmgame_MainActivity_native_1setDefaultStreamValues() argument 90 oboe::DefaultStreamValues::SampleRate = (int32_t) sampleRate; in Java_com_google_oboe_samples_rhythmgame_MainActivity_native_1setDefaultStreamValues()
|
/third_party/skia/third_party/externals/oboe/samples/LiveEffect/src/main/cpp/ |
D | jni_bridge.cpp | 126 jint sampleRate, in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_native_1setDefaultStreamValues() argument 128 oboe::DefaultStreamValues::SampleRate = (int32_t) sampleRate; in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_native_1setDefaultStreamValues()
|
/third_party/skia/third_party/externals/oboe/include/oboe/ |
D | AudioStreamBuilder.h | 72 AudioStreamBuilder *setSampleRate(int32_t sampleRate) { in setSampleRate() argument 73 mSampleRate = sampleRate; in setSampleRate()
|