openMSX
|
#include <YM2413Okazaki.hh>
Public Member Functions | |
Channel () | |
void | reset (YM2413 &ym2413) |
void | setPatch (unsigned num, YM2413 &ym2413) |
void | setSustain (bool sustain, bool modActAsCarrier) |
void | keyOn () |
void | keyOff () |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned version) |
Public Attributes | |
Slot | mod |
Slot | car |
Definition at line 126 of file YM2413Okazaki.hh.
openmsx::YM2413Okazaki::Channel::Channel | ( | ) |
Definition at line 576 of file YM2413Okazaki.cc.
References car, mod, and openmsx::YM2413Okazaki::Slot::sibling.
void openmsx::YM2413Okazaki::Channel::keyOff | ( | ) |
Definition at line 620 of file YM2413Okazaki.cc.
References car, mod, openmsx::YM2413Okazaki::Slot::slot_on_flag, and openmsx::YM2413Okazaki::Slot::slotOff().
void openmsx::YM2413Okazaki::Channel::keyOn | ( | ) |
Definition at line 606 of file YM2413Okazaki.cc.
References car, mod, openmsx::YM2413Okazaki::Slot::setEnvelopeState(), openmsx::YM2413Okazaki::Slot::SETTLE, and openmsx::YM2413Okazaki::Slot::slot_on_flag.
void openmsx::YM2413Okazaki::Channel::reset | ( | YM2413 & | ym2413 | ) |
Definition at line 582 of file YM2413Okazaki.cc.
References car, mod, openmsx::YM2413Okazaki::Slot::reset(), and setPatch().
void openmsx::YM2413Okazaki::Channel::serialize | ( | Archive & | ar, |
unsigned | version | ||
) |
Definition at line 1631 of file YM2413Okazaki.cc.
void openmsx::YM2413Okazaki::Channel::setPatch | ( | unsigned | num, |
YM2413 & | ym2413 | ||
) |
Definition at line 590 of file YM2413Okazaki.cc.
References car, openmsx::YM2413Okazaki::YM2413::getPatch(), mod, and openmsx::YM2413Okazaki::Slot::setPatch().
Referenced by reset().
void openmsx::YM2413Okazaki::Channel::setSustain | ( | bool | sustain, |
bool | modActAsCarrier | ||
) |
Definition at line 597 of file YM2413Okazaki.cc.
References car, mod, and openmsx::YM2413Okazaki::Slot::sustain.
Slot openmsx::YM2413Okazaki::Channel::car |
Definition at line 135 of file YM2413Okazaki.hh.
Referenced by openmsx::YM2413Okazaki::YM2413::calcChannel(), Channel(), openmsx::YM2413Okazaki::YM2413::generateChannels(), keyOff(), keyOn(), reset(), serialize(), setPatch(), and setSustain().
Slot openmsx::YM2413Okazaki::Channel::mod |
Definition at line 135 of file YM2413Okazaki.hh.
Referenced by openmsx::YM2413Okazaki::YM2413::calcChannel(), Channel(), openmsx::YM2413Okazaki::YM2413::generateChannels(), keyOff(), keyOn(), reset(), serialize(), setPatch(), and setSustain().