Home
last modified time | relevance | path

Searched refs:TestSourceType (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/multimedia/media_foundation/test/scenetest/helper/
H A Dtest_player.hpp34 enum class TestSourceType : int32_t { enum
41 …static TestSource CreateTestSource(const std::string& url, TestSourceType type, Plugin::Seekable s…
42 explicit TestSource(std::string url) : url_(std::move(url)), type_(TestSourceType::URI) {} in TestSource()
44 type_(TestSourceType::STREAM), seekable_(seekable) {} in TestSource()
47 TestSourceType type_;
H A Dstd_player.cpp90 TestSource TestSource::CreateTestSource(const std::string& url, TestSourceType type, Plugin::Seekab… in CreateTestSource()
93 case TestSourceType::URI: in CreateTestSource()
95 case TestSourceType::STREAM: in CreateTestSource()
114 if (source.type_ == TestSourceType::URI) { in SetSource()
116 } else if (source.type_ == TestSourceType::STREAM) { in SetSource()
/ohos5.0/foundation/multimedia/media_foundation/test/scenetest/
H A Dtest_std_stream_player.h35 auto testsrc = TestSource::CreateTestSource(url, TestSourceType::STREAM, in FIXTURE()
49 auto testsrc = TestSource::CreateTestSource(url, TestSourceType::STREAM, in FIXTURE()