Home
last modified time | relevance | path

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

12

/external/oboe/tests/
DtestStreamWaitState.cpp30 mBuilder.setPerformanceMode(PerformanceMode::None); in SetUp()
34 bool openStream(Direction direction, PerformanceMode perfMode) { in openStream()
125 ASSERT_TRUE(openStream(Direction::Output, PerformanceMode::LowLatency)); in TEST_F()
131 ASSERT_TRUE(openStream(Direction::Output, PerformanceMode::None)); in TEST_F()
138 builder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
147 builder.setPerformanceMode(PerformanceMode::None); in TEST_F()
156 ASSERT_TRUE(openStream(Direction::Output, PerformanceMode::LowLatency)); in TEST_F()
162 ASSERT_TRUE(openStream(Direction::Output, PerformanceMode::None)); in TEST_F()
169 builder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
178 builder.setPerformanceMode(PerformanceMode::None); in TEST_F()
[all …]
DtestStreamOpen.cpp61 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in checkSampleRateConversionAdvancing()
106 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
124 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
128 ASSERT_EQ((int)mStream->getPerformanceMode(), (int)PerformanceMode::None); in TEST_F()
135 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
139 ASSERT_EQ((int)mStream->getPerformanceMode(), (int)PerformanceMode::None); in TEST_F()
145 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
156 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
346 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
357 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
DtestStreamStates.cpp31 mBuilder.setPerformanceMode(PerformanceMode::None); in SetUp()
279 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
284 mBuilder.setPerformanceMode(PerformanceMode::LowLatency); in TEST_F()
/external/oboe/src/opensles/
DAudioStreamOpenSLES.cpp113 && mPerformanceMode != PerformanceMode::LowLatency in configureBufferSizes()
150 SLuint32 AudioStreamOpenSLES::convertPerformanceMode(PerformanceMode oboeMode) const { in convertPerformanceMode()
153 case PerformanceMode::None: in convertPerformanceMode()
156 case PerformanceMode::LowLatency: in convertPerformanceMode()
159 case PerformanceMode::PowerSaving: in convertPerformanceMode()
168 PerformanceMode AudioStreamOpenSLES::convertPerformanceMode(SLuint32 openslMode) const { in convertPerformanceMode()
169 PerformanceMode oboeMode = PerformanceMode::None; in convertPerformanceMode()
172 oboeMode = PerformanceMode::None; in convertPerformanceMode()
176 oboeMode = PerformanceMode::LowLatency; in convertPerformanceMode()
179 oboeMode = PerformanceMode::PowerSaving; in convertPerformanceMode()
[all …]
DAudioStreamOpenSLES.h102 PerformanceMode convertPerformanceMode(SLuint32 openslMode) const;
103 SLuint32 convertPerformanceMode(PerformanceMode oboeMode) const;
/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Dtest_context.h29 enum class PerformanceMode { enum
41 TestContext(PerformanceMode perfMode, in TestContext()
55 PerformanceMode getPerformanceMode() const { return mPerfMode; } in getPerformanceMode()
59 const PerformanceMode mPerfMode;
69 LatencyTestContext(PerformanceMode perfMode, in LatencyTestContext()
96 GlitchTestContext(PerformanceMode perfMode, in GlitchTestContext()
Dsound_system_aaudio.cpp182 aaudio_performance_mode_t getAAudioPerfMode(PerformanceMode performanceMode) { in getAAudioPerfMode()
184 case PerformanceMode::NONE: return AAUDIO_PERFORMANCE_MODE_NONE; in getAAudioPerfMode()
185 case PerformanceMode::DEFAULT: // The testing mode we should use by default is low latency. in getAAudioPerfMode()
186 case PerformanceMode::LATENCY: in getAAudioPerfMode()
187 case PerformanceMode::LATENCY_EFFECTS: return AAUDIO_PERFORMANCE_MODE_LOW_LATENCY; in getAAudioPerfMode()
188 case PerformanceMode::POWER_SAVING: return AAUDIO_PERFORMANCE_MODE_POWER_SAVING; in getAAudioPerfMode()
213 PerformanceMode performanceMode, int *samplingRate, int *playerBufferFrameCount);
236 std::unique_ptr<StreamBuilder> createBuilder(PerformanceMode performanceMode);
244 std::unique_ptr<StreamBuilder> Player::createBuilder(PerformanceMode performanceMode) { in createBuilder()
258 PerformanceMode performanceMode, int *samplingRate, int *playerBufferFrameCount) { in probeDefaults()
[all …]
Dloopback2.cpp39 return ss.probeDefaultSettings(static_cast<PerformanceMode>(performanceMode), in lb2ComputeDefaultSettings()
53 static_cast<PerformanceMode>(performanceMode), frameCount, in lb2Init()
63 static_cast<PerformanceMode>(performanceMode),frameCount, in lb2Init()
Dsound_system.h45 virtual bool probeDefaultSettings(PerformanceMode /*performanceMode*/, int* /*samplingRate*/, in probeDefaultSettings() argument
Dsound_system_aaudio.h36 bool probeDefaultSettings(PerformanceMode performanceMode, int *samplingRate,
/external/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.cpp60 return builder.getPerformanceMode() == PerformanceMode::LowLatency in isAAudioMMapPossible()
135 const bool isLowLatency = builder.getPerformanceMode() == PerformanceMode::LowLatency; in isConversionNeeded()
DAudioStreamBuilder.cpp182 } else if (streamP->getPerformanceMode() == PerformanceMode::LowLatency in openStream()
/external/oboe/include/oboe/
DAudioStreamBase.h100 PerformanceMode getPerformanceMode() const { return mPerformanceMode; } in getPerformanceMode()
212 PerformanceMode mPerformanceMode = PerformanceMode::None;
DDefinitions.h192 enum class PerformanceMode : int32_t { // aaudio_performance_mode_t enum
DAudioStreamBuilder.h201 AudioStreamBuilder *setPerformanceMode(PerformanceMode performanceMode) { in setPerformanceMode()
/external/oboe/samples/LiveEffect/src/main/cpp/
DLiveEffectEngine.cpp159 ->setPerformanceMode(oboe::PerformanceMode::LowLatency); in setupCommonStreamParameters()
192 if (stream->getPerformanceMode() != oboe::PerformanceMode::LowLatency) { in warnIfNotLowLatency()
/external/oboe/samples/MegaDrone/src/main/cpp/
DMegaDroneEngine.cpp57 ->setPerformanceMode(oboe::PerformanceMode::LowLatency) in createPlaybackStream()
/external/oboe/docs/
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…
DAndroidAudioHistory.md23 - AAudio MMAP data path enabled on Pixel devices. PerformanceMode::Exclusive supported.
34 - OpenSL adds supports for setting and querying of PerformanceMode.
/external/oboe/src/aaudio/
DAAudioLoader.cpp307 static_assert((int32_t)PerformanceMode::None == AAUDIO_PERFORMANCE_MODE_NONE, ERRMSG);
308 static_assert((int32_t)PerformanceMode::PowerSaving
310 static_assert((int32_t)PerformanceMode::LowLatency
/external/oboe/apps/fxlab/app/src/main/cpp/
DDuplexEngine.cpp55 .setPerformanceMode(oboe::PerformanceMode::LowLatency) in defaultBuilder()
/external/skia/modules/audioplayer/
DSkAudioPlayer_oboe.cpp31 builder.setPerformanceMode(oboe::PerformanceMode::LowLatency); in OboeAudioPlayer()
/external/oboe/samples/hello-oboe/src/main/cpp/
DHelloOboeEngine.cpp117 ->setPerformanceMode(oboe::PerformanceMode::LowLatency) in createPlaybackStream()
/external/oboe/samples/iolib/src/main/cpp/player/
DSimpleMultiPlayer.cpp84 builder.setPerformanceMode(PerformanceMode::LowLatency); in openStream()

12