openMSX
Public Member Functions | Public Attributes | List of all members
openmsx::YM2413Okazaki::Channel Class Reference

#include <YM2413Okazaki.hh>

Collaboration diagram for openmsx::YM2413Okazaki::Channel:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 118 of file YM2413Okazaki.hh.

Constructor & Destructor Documentation

◆ Channel()

openmsx::YM2413Okazaki::Channel::Channel ( )

Definition at line 606 of file YM2413Okazaki.cc.

References car, mod, and openmsx::YM2413Okazaki::Slot::sibling.

Member Function Documentation

◆ keyOff()

void openmsx::YM2413Okazaki::Channel::keyOff ( )
inline

◆ keyOn()

void openmsx::YM2413Okazaki::Channel::keyOn ( )
inline

◆ reset()

void openmsx::YM2413Okazaki::Channel::reset ( YM2413 ym2413)

Definition at line 612 of file YM2413Okazaki.cc.

References car, mod, openmsx::YM2413Okazaki::Slot::reset(), and setPatch().

◆ serialize()

template<typename Archive >
void openmsx::YM2413Okazaki::Channel::serialize ( Archive &  ar,
unsigned  version 
)

Definition at line 1657 of file YM2413Okazaki.cc.

References car, and mod.

◆ setPatch()

void openmsx::YM2413Okazaki::Channel::setPatch ( unsigned  num,
YM2413 ym2413 
)
inline

◆ setSustain()

void openmsx::YM2413Okazaki::Channel::setSustain ( bool  sustain,
bool  modActAsCarrier 
)
inline

Definition at line 627 of file YM2413Okazaki.cc.

References car, mod, and openmsx::YM2413Okazaki::Slot::sustain.

Member Data Documentation

◆ car

Slot openmsx::YM2413Okazaki::Channel::car

◆ mod

Slot openmsx::YM2413Okazaki::Channel::mod

The documentation for this class was generated from the following files: