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 126 of file YM2413Okazaki.hh.

Constructor & Destructor Documentation

◆ Channel()

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

Definition at line 576 of file YM2413Okazaki.cc.

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

Member Function Documentation

◆ keyOff()

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

◆ keyOn()

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

◆ reset()

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

Definition at line 582 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 1631 of file YM2413Okazaki.cc.

References car, and mod.

◆ setPatch()

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

◆ setSustain()

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.

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: