MCPcopy Create free account
hub / github.com/doldecomp/mkdd / startTrack_

Method startTrack_

libs/JSystem/JAudio/Interface/JAISe.cpp:52–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void JAISe::startTrack_(const JASSoundParams &params)
53{
54#line 72
55 JUT_ASSERT(inner_.track.getStatus() != JASTrack::STATUS_RUN)
56 if (inner_.track.getStatus() == JASTrack::STATUS_STOPPED)
57 {
58 inner_.track.init();
59 }
60 if (audible_)
61 {
62 initTrack_JAISound_(&inner_.track);
63 }
64 else
65 {
66 params_.mixOutAll(params, &inner_.mSoundParams, fader_.getIntensity());
67 inner_.track.setChannelMgrCount(1);
68 inner_.track.assignExtBuffer(0, &inner_.mSoundParams);
69 }
70 inner_._26c = 1;
71 inner_.track.setSeqData(inner_.mSeqData._0, inner_.mSeqData._4);
72 inner_.track.startSeq();
73}
74
75void JAISe::JAISeCategoryMgr_mixOut_(bool p1, const JASSoundParams &params, JAISoundActivity activity)
76{

Callers

nothing calls this directly

Calls 8

mixOutAllMethod · 0.80
getIntensityMethod · 0.80
setChannelMgrCountMethod · 0.80
assignExtBufferMethod · 0.80
setSeqDataMethod · 0.80
startSeqMethod · 0.80
getStatusMethod · 0.45
initMethod · 0.45

Tested by

no test coverage detected