/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/ |
D | jni-bridge.cpp | 182 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_setBufferSizeInFrames() local 183 if (oboeStream != nullptr) { in Java_com_google_sample_oboe_manualtest_OboeAudioStream_setBufferSizeInFrames() 184 auto result = oboeStream->setBufferSizeInFrames(threshold); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_setBufferSizeInFrames() 196 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferSizeInFrames() local 197 if (oboeStream != nullptr) { in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferSizeInFrames() 198 result = oboeStream->getBufferSizeInFrames(); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferSizeInFrames() 207 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferCapacityInFrames() local 208 if (oboeStream != nullptr) { in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferCapacityInFrames() 209 result = oboeStream->getBufferCapacityInFrames(); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferCapacityInFrames() 231 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getNativeApi() local [all …]
|
D | NativeAudioContext.cpp | 62 oboe::AudioStream *oboeStream = entry.second.get(); in getOutputStream() local 63 if (oboeStream->getDirection() == oboe::Direction::Output) { in getOutputStream() 64 return oboeStream; in getOutputStream() 72 oboe::AudioStream *oboeStream = entry.second.get(); in getInputStream() local 73 if (oboeStream != nullptr) { in getInputStream() 74 if (oboeStream->getDirection() == oboe::Direction::Input) { in getInputStream() 75 return oboeStream; in getInputStream() 93 oboe::AudioStream *oboeStream = getStream(streamIndex); in close() local 94 if (oboeStream != nullptr) { in close() 95 oboeStream->close(); in close() [all …]
|
D | NativeAudioContext.h | 99 bool isMMapUsed(oboe::AudioStream *oboeStream) { in isMMapUsed() argument 102 AAudioStream *aaudioStream = (AAudioStream *) oboeStream->getUnderlyingStream(); in isMMapUsed() 313 virtual void finishOpen(bool isInput, oboe::AudioStream *oboeStream) {} in finishOpen() argument 526 void finishOpen(bool isInput, oboe::AudioStream *oboeStream) override; 563 void finishOpen(bool isInput, oboe::AudioStream *oboeStream) override; 601 void finishOpen(bool isInput, oboe::AudioStream *oboeStream) override;
|
/third_party/skia/third_party/externals/oboe/samples/hello-oboe/src/main/cpp/ |
D | LatencyTuningCallback.cpp | 20 oboe::AudioStream *oboeStream, void *audioData, int32_t numFrames) { in onAudioReady() argument 21 if (oboeStream != mStream) { in onAudioReady() 22 mStream = oboeStream; in onAudioReady() 23 mLatencyTuner = std::make_unique<oboe::LatencyTuner>(*oboeStream); in onAudioReady() 27 && oboeStream->getAudioApi() == oboe::AudioApi::AAudio) { in onAudioReady() 30 auto underrunCountResult = oboeStream->getXRunCount(); in onAudioReady() 31 int bufferSize = oboeStream->getBufferSizeInFrames(); in onAudioReady() 40 auto result = DefaultAudioStreamCallback::onAudioReady(oboeStream, audioData, numFrames); in onAudioReady()
|
D | LatencyTuningCallback.h | 53 …oboe::DataCallbackResult onAudioReady(oboe::AudioStream *oboeStream, void *audioData, int32_t numF…
|
/third_party/skia/third_party/externals/oboe/src/aaudio/ |
D | AudioStreamAAudio.cpp | 49 AudioStreamAAudio *oboeStream = reinterpret_cast<AudioStreamAAudio*>(userData); in oboe_aaudio_data_callback_proc() local 50 if (oboeStream != nullptr) { in oboe_aaudio_data_callback_proc() 52 oboeStream->callOnAudioReady(stream, audioData, numFrames)); in oboe_aaudio_data_callback_proc() 62 static void oboe_aaudio_error_thread_proc(AudioStreamAAudio *oboeStream, in oboe_aaudio_error_thread_proc() argument 65 oboeStream->requestStop(); in oboe_aaudio_error_thread_proc() 66 if (oboeStream->getCallback() != nullptr) { in oboe_aaudio_error_thread_proc() 67 oboeStream->getCallback()->onErrorBeforeClose(oboeStream, error); in oboe_aaudio_error_thread_proc() 69 oboeStream->close(); in oboe_aaudio_error_thread_proc() 70 if (oboeStream->getCallback() != nullptr) { in oboe_aaudio_error_thread_proc() 72 oboeStream->getCallback()->onErrorAfterClose(oboeStream, error); in oboe_aaudio_error_thread_proc() [all …]
|
/third_party/skia/third_party/externals/oboe/include/oboe/ |
D | StabilizedCallback.h | 31 onAudioReady(AudioStream *oboeStream, void *audioData, int32_t numFrames) override; 33 void onErrorBeforeClose(AudioStream *oboeStream, Result error) override { in onErrorBeforeClose() argument 34 return mCallback->onErrorBeforeClose(oboeStream, error); in onErrorBeforeClose() 37 void onErrorAfterClose(AudioStream *oboeStream, Result error) override { in onErrorAfterClose() argument 43 return mCallback->onErrorAfterClose(oboeStream, error); in onErrorAfterClose()
|
D | AudioStreamCallback.h | 84 AudioStream *oboeStream,
|
/third_party/skia/third_party/externals/oboe/samples/LiveEffect/src/main/cpp/ |
D | LiveEffectEngine.cpp | 209 oboe::AudioStream *oboeStream, void *audioData, int32_t numFrames) { in onAudioReady() argument 210 return mFullDuplexPass.onAudioReady(oboeStream, audioData, numFrames); in onAudioReady() 219 void LiveEffectEngine::onErrorBeforeClose(oboe::AudioStream *oboeStream, in onErrorBeforeClose() argument 222 oboe::convertToText(oboeStream->getDirection()), in onErrorBeforeClose() 232 void LiveEffectEngine::onErrorAfterClose(oboe::AudioStream *oboeStream, in onErrorAfterClose() argument 235 oboe::convertToText(oboeStream->getDirection()), in onErrorAfterClose()
|
D | LiveEffectEngine.h | 41 oboe::DataCallbackResult onAudioReady(oboe::AudioStream *oboeStream, 43 void onErrorBeforeClose(oboe::AudioStream *oboeStream, oboe::Result error) override; 44 void onErrorAfterClose(oboe::AudioStream *oboeStream, oboe::Result error) override;
|
/third_party/skia/third_party/externals/oboe/src/common/ |
D | StabilizedCallback.cpp | 39 StabilizedCallback::onAudioReady(AudioStream *oboeStream, void *audioData, int32_t numFrames) { in onAudioReady() argument 53 int64_t idealStartTimeNanos = (mFrameCount * kNanosPerSecond) / oboeStream->getSampleRate(); in onAudioReady() 63 int64_t numFramesAsNanos = (numFrames * kNanosPerSecond) / oboeStream->getSampleRate(); in onAudioReady() 68 DataCallbackResult result = mCallback->onAudioReady(oboeStream, audioData, numFrames); in onAudioReady()
|
D | FilterAudioStream.h | 176 DataCallbackResult onAudioReady(AudioStream *oboeStream, in onAudioReady() argument 180 if (oboeStream->getDirection() == Direction::Output) { in onAudioReady() 190 void onErrorBeforeClose(AudioStream *oboeStream, Result error) override { in onErrorBeforeClose() argument 196 void onErrorAfterClose(AudioStream *oboeStream, Result error) override { in onErrorAfterClose() argument
|
D | AudioStream.cpp | 199 static void oboe_stop_thread_proc(AudioStream *oboeStream) { in oboe_stop_thread_proc() argument 200 if (oboeStream != nullptr) { in oboe_stop_thread_proc() 201 oboeStream->requestStop(); in oboe_stop_thread_proc()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/ |
D | Game.cpp | 116 DataCallbackResult Game::onAudioReady(AudioStream *oboeStream, void *audioData, int32_t numFrames) { in onAudioReady() argument 120 bool is16Bit = (oboeStream->getFormat() == AudioFormat::I16); in onAudioReady() 135 mMixer.renderAudio(outputBuffer+(oboeStream->getChannelCount()*i), 1); in onAudioReady() 142 numFrames * oboeStream->getChannelCount()); in onAudioReady() 150 void Game::onErrorAfterClose(AudioStream *oboeStream, Result error){ in onErrorAfterClose() argument
|
D | Game.h | 56 onAudioReady(AudioStream *oboeStream, void *audioData, int32_t numFrames) override; 57 void onErrorAfterClose(AudioStream *oboeStream, Result error) override;
|
/third_party/skia/third_party/externals/oboe/samples/iolib/src/main/cpp/player/ |
D | SimpleMultiPlayer.h | 39 oboe::DataCallbackResult onAudioReady(oboe::AudioStream *oboeStream, void *audioData, 41 virtual void onErrorAfterClose(oboe::AudioStream *oboeStream, oboe::Result error) override; 42 virtual void onErrorBeforeClose(oboe::AudioStream * oboeStream, oboe::Result error) override;
|
D | SimpleMultiPlayer.cpp | 40 DataCallbackResult SimpleMultiPlayer::onAudioReady(AudioStream *oboeStream, void *audioData, in onAudioReady() argument 43 StreamState streamState = oboeStream->getState(); in onAudioReady() 63 void SimpleMultiPlayer::onErrorAfterClose(AudioStream *oboeStream, Result error) { in onErrorAfterClose() argument
|
/third_party/skia/third_party/externals/oboe/samples/shared/ |
D | DefaultAudioStreamCallback.h | 41 onAudioReady(oboe::AudioStream *oboeStream, void *audioData, int32_t numFrames) override { in onAudioReady() argument 59 virtual void onErrorAfterClose(oboe::AudioStream *oboeStream, oboe::Result error) override { in onErrorAfterClose() argument
|
/third_party/skia/third_party/externals/oboe/tests/ |
D | testXRunBehaviour.cpp | 26 …DataCallbackResult onAudioReady(AudioStream *oboeStream, void *audioData, int32_t numFrames) overr… in onAudioReady() argument
|
D | testStreamOpen.cpp | 25 …DataCallbackResult onAudioReady(AudioStream *oboeStream, void *audioData, int32_t numFrames) overr… in onAudioReady() argument
|
D | testStreamClosedMethods.cpp | 24 …DataCallbackResult onAudioReady(AudioStream *oboeStream, void *audioData, int32_t numFrames) overr… in onAudioReady() argument
|
/third_party/skia/modules/audioplayer/ |
D | SkAudioPlayer_oboe.cpp | 45 onAudioReady(oboe::AudioStream *oboeStream, void *audioData, int32_t numFrames) override { in onAudioReady() argument
|
/third_party/skia/third_party/externals/oboe/docs/ |
D | FullGuide.md | 368 AudioStream *oboeStream, 401 AudioStream *oboeStream, 412 (numFrames - result.value()) * oboeStream->getBytesPerFrame());
|
D | OpenSLESMigration.md | 80 AudioStream *oboeStream,
|
D | GettingStarted.md | 274 …oboe::DataCallbackResult onAudioReady(oboe::AudioStream *oboeStream, void *audioData, int32_t numF…
|