| 669 | } |
| 670 | |
| 671 | void JASTrack::updateChannel(JASChannel *ch, JASDsp::TChannel *dspCh) { |
| 672 | ch->setVibrate(mVibDepth, mVibPitch); |
| 673 | ch->setTremolo(mTremDepth, mTremPitch); |
| 674 | if (mFilterMode & 0x20) { |
| 675 | dspCh->setIIRFilterParam(mIIR); |
| 676 | } |
| 677 | if (mFilterMode & 0x1f) { |
| 678 | dspCh->setFIR8FilterParam(mFIR); |
| 679 | } |
| 680 | dspCh->setFilterMode(mFilterMode); |
| 681 | dspCh->setDistFilter(mMove.params.distFilter.mValue * 32767.0f); |
| 682 | } |
| 683 | |
| 684 | void JASTrack::channelUpdateCallback(u32 p1, JASChannel *ch, JASDsp::TChannel *dspCh, void *arg) { |
| 685 | TChannelMgr *channel_mgr = static_cast<TChannelMgr*>(arg); |
no test coverage detected