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

Method playForce

libs/JSystem/JAudio/System/JASChannel.cpp:77–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77int JASChannel::playForce() {
78 JASDSPChannel *chan = JASDSPChannel::allocForce(JSULoByte(mPriority), dspUpdateCallback, this);
79 if (!chan) {
80 delete this;
81 return 0;
82 }
83
84 mDspCh = chan;
85 chan->start();
86 mStatus = STATUS_PLAYING;
87 return 1;
88}
89
90void JASChannel::release(u16 release) {
91 if (mStatus != STATUS_PLAYING)

Callers 1

channelStartMethod · 0.80

Calls 2

JSULoByteFunction · 0.85
startMethod · 0.45

Tested by

no test coverage detected