MCPcopy Create free account
hub / github.com/GrapheneCt/NetStream / FMODPlayer

Method FMODPlayer

NetStream/source/players/player_fmod.cpp:194–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194FMODPlayer::FMODPlayer(ui::Widget *targetPlane, const char *url, Option *opt)
195{
196 SCE_DBG_LOG_INFO("[FMODPlayer] Open url: %s", url);
197 m_target = targetPlane;
198 m_path = url;
199 if (opt)
200 {
201 if (opt->playerType == GenericPlayer::PlayerType_FMOD)
202 {
203 m_opt = *opt;
204 }
205 else
206 {
207 opt->CommonCopy(m_opt);
208 }
209 }
210 s_system->attachChannelGroupToPort(FMOD_PSVITA_PORT_TYPE_VOICE, 0, s_chg);
211 common::MainThreadCallList::Register(UpdateTask, this);
212}
213
214FMODPlayer::~FMODPlayer()
215{

Callers

nothing calls this directly

Calls 1

CommonCopyMethod · 0.80

Tested by

no test coverage detected