LMMS
Loading...
Searching...
No Matches
CAnalopl Class Reference

#include <analopl.h>

Inheritance diagram for CAnalopl:
CRealopl Copl

Public Member Functions

 CAnalopl (unsigned short initport=DFL_ADLIBPORT)
int getcarriervol (unsigned int v, unsigned int c=0)
int getmodulatorvol (unsigned int v, unsigned int c=0)
bool getkeyon (unsigned int v, unsigned int c=0)
void write (int reg, int val)
Public Member Functions inherited from CRealopl
 CRealopl (unsigned short initport=DFL_ADLIBPORT)
bool detect ()
void setvolume (int volume)
void setquiet (bool quiet=true)
void setport (unsigned short port)
void setnowrite (bool nw=true)
int getvolume ()
void write (int reg, int val)
void init ()
void settype (ChipType type)
Public Member Functions inherited from Copl
 Copl ()
virtual ~Copl ()
virtual void setchip (int n)
virtual int getchip ()
ChipType gettype ()
virtual void update (short *buf, int samples)

Protected Attributes

unsigned char keyregs [2][9][2]
Protected Attributes inherited from CRealopl
unsigned short adlport
int hardvol
int oldvol
bool bequiet
char hardvols [2][22][2]
bool nowrite
Protected Attributes inherited from Copl
int currChip
ChipType currType

Additional Inherited Members

Public Types inherited from Copl
enum  ChipType { TYPE_OPL2 , TYPE_OPL3 , TYPE_DUAL_OPL2 }
Protected Member Functions inherited from CRealopl
void hardwrite (int reg, int val)
bool harddetect ()
Static Protected Attributes inherited from CRealopl
static const unsigned char op_table [9]

Constructor & Destructor Documentation

◆ CAnalopl()

CAnalopl::CAnalopl ( unsigned short initport = DFL_ADLIBPORT)

Member Function Documentation

◆ getcarriervol()

int CAnalopl::getcarriervol ( unsigned int v,
unsigned int c = 0 )

◆ getkeyon()

bool CAnalopl::getkeyon ( unsigned int v,
unsigned int c = 0 )

◆ getmodulatorvol()

int CAnalopl::getmodulatorvol ( unsigned int v,
unsigned int c = 0 )

◆ write()

void CAnalopl::write ( int reg,
int val )
virtual

Implements Copl.

Member Data Documentation

◆ keyregs

unsigned char CAnalopl::keyregs[2][9][2]
protected

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