Home
last modified time | relevance | path

Searched refs:PerformanceMode (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/third_party/externals/oboe/tests/
DtestStreamWaitState.cpp30 mBuilder.setPerformanceMode(PerformanceMode::None); in SetUp()
34 bool openStream(Direction direction, PerformanceMode perfMode) { in openStream()
122 openStream(Direction::Output, PerformanceMode::LowLatency); in TEST_F()
128 openStream(Direction::Output, PerformanceMode::None); in TEST_F()
135 builder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
144 builder.setPerformanceMode(PerformanceMode::None); in TEST_F()
153 openStream(Direction::Output, PerformanceMode::LowLatency); in TEST_F()
159 openStream(Direction::Output, PerformanceMode::LowLatency); in TEST_F()
167 builder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
176 openStream(Direction::Output, PerformanceMode::LowLatency); in TEST_F()
[all …]
DtestStreamOpen.cpp64 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in checkSampleRateConversionAdvancing()
104 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
122 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
126 ASSERT_EQ((int)mStream->getPerformanceMode(), (int)PerformanceMode::None); in TEST_F()
133 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
137 ASSERT_EQ((int)mStream->getPerformanceMode(), (int)PerformanceMode::None); in TEST_F()
143 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
154 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
344 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
355 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
DtestStreamStates.cpp31 mBuilder.setPerformanceMode(PerformanceMode::None); in SetUp()
286 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
291 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
DtestStreamClosedMethods.cpp129 PerformanceMode p = mStream->getPerformanceMode(); in TEST_F()
/third_party/skia/third_party/externals/oboe/src/opensles/
DAudioStreamOpenSLES.cpp113 && mPerformanceMode != PerformanceMode::LowLatency in configureBufferSizes()
143 SLuint32 AudioStreamOpenSLES::convertPerformanceMode(PerformanceMode oboeMode) const { in convertPerformanceMode()
146 case PerformanceMode::None: in convertPerformanceMode()
149 case PerformanceMode::LowLatency: in convertPerformanceMode()
152 case PerformanceMode::PowerSaving: in convertPerformanceMode()
161 PerformanceMode AudioStreamOpenSLES::convertPerformanceMode(SLuint32 openslMode) const { in convertPerformanceMode()
162 PerformanceMode oboeMode = PerformanceMode::None; in convertPerformanceMode()
165 oboeMode = PerformanceMode::None; in convertPerformanceMode()
169 oboeMode = PerformanceMode::LowLatency; in convertPerformanceMode()
172 oboeMode = PerformanceMode::PowerSaving; in convertPerformanceMode()
[all …]
DAudioStreamOpenSLES.h100 PerformanceMode convertPerformanceMode(SLuint32 openslMode) const;
101 SLuint32 convertPerformanceMode(PerformanceMode oboeMode) const;
/third_party/skia/third_party/externals/oboe/src/common/
DUtilities.cpp106 const char *convertToText<PerformanceMode>(PerformanceMode mode) { in convertToText()
108 case PerformanceMode::LowLatency: return "LowLatency"; in convertToText()
109 case PerformanceMode::None: return "None"; in convertToText()
110 case PerformanceMode::PowerSaving: return "PowerSaving"; in convertToText()
DQuirksManager.cpp64 return builder.getPerformanceMode() == PerformanceMode::LowLatency in isAAudioMMapPossible()
123 const bool isLowLatency = builder.getPerformanceMode() == PerformanceMode::LowLatency; in isConversionNeeded()
DAudioStreamBuilder.cpp168 } else if (streamP->getPerformanceMode() == PerformanceMode::LowLatency in openStream()
/third_party/skia/third_party/externals/oboe/include/oboe/
DAudioStreamBase.h95 PerformanceMode getPerformanceMode() const { return mPerformanceMode; } in getPerformanceMode()
179 PerformanceMode mPerformanceMode = PerformanceMode::None;
DDefinitions.h192 enum class PerformanceMode : int32_t { // aaudio_performance_mode_t enum
DAudioStreamBuilder.h194 AudioStreamBuilder *setPerformanceMode(PerformanceMode performanceMode) { in setPerformanceMode()
/third_party/skia/third_party/externals/oboe/samples/LiveEffect/src/main/cpp/
DLiveEffectEngine.cpp157 ->setPerformanceMode(oboe::PerformanceMode::LowLatency); in setupCommonStreamParameters()
192 if (stream->getPerformanceMode() != oboe::PerformanceMode::LowLatency) { in warnIfNotLowLatency()
/third_party/skia/third_party/externals/oboe/docs/
DAndroidAudioHistory.md17 - AAudio MMAP data path enabled on Pixel devices. PerformanceMode::Exclusive supported.
28 - OpenSL adds supports for setting and querying of PerformanceMode.
DFAQ.md31 ## I requested a stream with `PerformanceMode::LowLatency`, but didn't get it. Why not?
32 Usually if you call `builder.setPerformanceMode(PerformanceMode::LowLatency)` and don't specify oth…
41 - You are on Android 7.0 or below and are receiving `PerformanceMode::None`. The ability to query t…
DFullGuide.md456 * `PerformanceMode::None` is the default mode. It uses a basic stream that balances latency and pow…
457 * `PerformanceMode::LowLatency` uses smaller buffers and an optimized data path for reduced latency.
458 * `PerformanceMode::PowerSaving` uses larger internal buffers and a data path that trades off laten…
463 If low latency is more important than power savings in your application, use `PerformanceMode::LowL…
466 If saving power is more important than low latency in your application, use `PerformanceMode::Power…
469 …e, in order to achieve the lowest possible latency you must use the `PerformanceMode::LowLatency` …
478 builder.setPerformanceMode(PerformanceMode::LowLatency);
DGettingStarted.md128 builder.setPerformanceMode(oboe::PerformanceMode::LowLatency);
137 builder.setPerformanceMode(oboe::PerformanceMode::LowLatency)
264 ->setPerformanceMode(oboe::PerformanceMode::LowLatency)
/third_party/skia/third_party/externals/oboe/samples/MegaDrone/src/main/cpp/
DMegaDroneEngine.cpp55 ->setPerformanceMode(oboe::PerformanceMode::LowLatency) in createPlaybackStream()
/third_party/skia/third_party/externals/oboe/src/aaudio/
DAAudioLoader.cpp302 static_assert((int32_t)PerformanceMode::None == AAUDIO_PERFORMANCE_MODE_NONE, ERRMSG);
303 static_assert((int32_t)PerformanceMode::PowerSaving
305 static_assert((int32_t)PerformanceMode::LowLatency
DAudioStreamAAudio.cpp187 && mPerformanceMode == oboe::PerformanceMode::LowLatency) { in open()
256 mPerformanceMode = static_cast<PerformanceMode>( in open()
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/
DDuplexEngine.cpp55 .setPerformanceMode(oboe::PerformanceMode::LowLatency) in defaultBuilder()
/third_party/skia/modules/audioplayer/
DSkAudioPlayer_oboe.cpp31 builder.setPerformanceMode(oboe::PerformanceMode::LowLatency); in OboeAudioPlayer()
/third_party/skia/third_party/externals/oboe/samples/hello-oboe/src/main/cpp/
DHelloOboeEngine.cpp121 ->setPerformanceMode(oboe::PerformanceMode::LowLatency) in createPlaybackStream()
/third_party/skia/third_party/externals/oboe/samples/iolib/src/main/cpp/player/
DSimpleMultiPlayer.cpp83 builder.setPerformanceMode(PerformanceMode::LowLatency); in openStream()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/
DGame.cpp179 builder.setPerformanceMode(PerformanceMode::LowLatency); in openStream()

12