| 75 | } |
| 76 | |
| 77 | int 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 | |
| 90 | void JASChannel::release(u16 release) { |
| 91 | if (mStatus != STATUS_PLAYING) |
no test coverage detected