/external/oboe/tests/ |
D | testStreamWaitState.cpp | 30 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 …]
|
D | testStreamOpen.cpp | 61 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()
|
D | testStreamStates.cpp | 31 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/ |
D | AudioStreamOpenSLES.cpp | 113 && 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 …]
|
D | AudioStreamOpenSLES.h | 102 PerformanceMode convertPerformanceMode(SLuint32 openslMode) const; 103 SLuint32 convertPerformanceMode(PerformanceMode oboeMode) const;
|
/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/ |
D | test_context.h | 29 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()
|
D | sound_system_aaudio.cpp | 182 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 …]
|
D | loopback2.cpp | 39 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()
|
D | sound_system.h | 45 virtual bool probeDefaultSettings(PerformanceMode /*performanceMode*/, int* /*samplingRate*/, in probeDefaultSettings() argument
|
D | sound_system_aaudio.h | 36 bool probeDefaultSettings(PerformanceMode performanceMode, int *samplingRate,
|
/external/oboe/src/common/ |
D | Utilities.cpp | 106 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()
|
D | QuirksManager.cpp | 60 return builder.getPerformanceMode() == PerformanceMode::LowLatency in isAAudioMMapPossible() 135 const bool isLowLatency = builder.getPerformanceMode() == PerformanceMode::LowLatency; in isConversionNeeded()
|
D | AudioStreamBuilder.cpp | 182 } else if (streamP->getPerformanceMode() == PerformanceMode::LowLatency in openStream()
|
/external/oboe/include/oboe/ |
D | AudioStreamBase.h | 100 PerformanceMode getPerformanceMode() const { return mPerformanceMode; } in getPerformanceMode() 212 PerformanceMode mPerformanceMode = PerformanceMode::None;
|
D | Definitions.h | 192 enum class PerformanceMode : int32_t { // aaudio_performance_mode_t enum
|
D | AudioStreamBuilder.h | 201 AudioStreamBuilder *setPerformanceMode(PerformanceMode performanceMode) { in setPerformanceMode()
|
/external/oboe/samples/LiveEffect/src/main/cpp/ |
D | LiveEffectEngine.cpp | 159 ->setPerformanceMode(oboe::PerformanceMode::LowLatency); in setupCommonStreamParameters() 192 if (stream->getPerformanceMode() != oboe::PerformanceMode::LowLatency) { in warnIfNotLowLatency()
|
/external/oboe/samples/MegaDrone/src/main/cpp/ |
D | MegaDroneEngine.cpp | 57 ->setPerformanceMode(oboe::PerformanceMode::LowLatency) in createPlaybackStream()
|
/external/oboe/docs/ |
D | FAQ.md | 31 ## 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…
|
D | AndroidAudioHistory.md | 23 - 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/ |
D | AAudioLoader.cpp | 307 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/ |
D | DuplexEngine.cpp | 55 .setPerformanceMode(oboe::PerformanceMode::LowLatency) in defaultBuilder()
|
/external/skia/modules/audioplayer/ |
D | SkAudioPlayer_oboe.cpp | 31 builder.setPerformanceMode(oboe::PerformanceMode::LowLatency); in OboeAudioPlayer()
|
/external/oboe/samples/hello-oboe/src/main/cpp/ |
D | HelloOboeEngine.cpp | 117 ->setPerformanceMode(oboe::PerformanceMode::LowLatency) in createPlaybackStream()
|
/external/oboe/samples/iolib/src/main/cpp/player/ |
D | SimpleMultiPlayer.cpp | 84 builder.setPerformanceMode(PerformanceMode::LowLatency); in openStream()
|