Lines Matching refs:TestPlayerImpl
58 class TestPlayerImpl : public TestPlayer {
60 explicit TestPlayerImpl(std::shared_ptr<Media::PlayerInterface> player) : player_(std::move(player)) {}
61 ~TestPlayerImpl() override
63 MEDIA_LOG_I("TestPlayerImpl dtor called.");
89 return CppExt::make_unique<TestPlayerImpl>(player);
92 int32_t TestPlayerImpl::SetSource(const TestSource& source)
98 int32_t TestPlayerImpl::SetSingleLoop(bool loop)
103 bool TestPlayerImpl::IsPlaying()
108 int32_t TestPlayerImpl::Prepare()
113 int32_t TestPlayerImpl::Play()
119 int32_t TestPlayerImpl::Pause()
124 int32_t TestPlayerImpl::Release()
130 int32_t TestPlayerImpl::Stop()
135 int32_t TestPlayerImpl::Reset()
140 int32_t TestPlayerImpl::Seek(int64_t timeMs)
152 int32_t TestPlayerImpl::GetCurrentTime(int64_t& currentMS)
157 int32_t TestPlayerImpl::GetDuration(int64_t& durationMs)
162 int32_t TestPlayerImpl::SetVolume(float leftVolume, float rightVolume)
168 int32_t TestPlayerImpl::GetAudioTrackInfo(std::vector<Format> &audioTrack)