aboutsummaryrefslogtreecommitdiff
path: root/src/chips/opl_chip_base.cpp
blob: 65d4b734222bf1027ef4ca178292f9af98f3dad0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "opl_chip_base.h"

OPLChipBase::OPLChipBase() :
    m_rate(44100)
{}

OPLChipBase::OPLChipBase(const OPLChipBase &c):
    m_rate(c.m_rate)
{}

OPLChipBase::~OPLChipBase()
{}

void OPLChipBase::setRate(uint32_t rate)
{
    m_rate = rate;
}

void OPLChipBase::reset(uint32_t rate)
{
    setRate(rate);
}