| 192 | } |
| 193 | |
| 194 | FMODPlayer::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 | |
| 214 | FMODPlayer::~FMODPlayer() |
| 215 | { |
nothing calls this directly
no test coverage detected