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

Method setFilterMode

libs/JSystem/JAudio/System/JASDSPInterface.cpp:432–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430}
431
432void TChannel::setFilterMode(u16 mode) {
433 u8 r30 = mode & 0x20;
434 u8 r31 = mode & 0x1f;
435 if (r30) {
436 if (r31 > 0x14) {
437 r31 = 0x14;
438 }
439 } else {
440 if (r31 > 0x18) {
441 r31 = 0x18;
442 }
443 }
444 mFilterMode = r30 + r31;
445}
446
447void TChannel::setIIRFilterParam(s16 *src) {
448 setFilterTable(mIirFilterParam, src, 8);

Callers 1

updateChannelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected