mirror of
https://github.com/TomHarte/CLK.git
synced 2025-11-02 18:16:08 +00:00
Adopt CRTP for SampleSource.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
namespace Yamaha::OPL {
|
||||
|
||||
template <typename Child> class OPLBase: public ::Outputs::Speaker::SampleSource {
|
||||
template <typename Child> class OPLBase: public ::Outputs::Speaker::SampleSource<Child> {
|
||||
public:
|
||||
void write(uint16_t address, uint8_t value) {
|
||||
if(address & 1) {
|
||||
|
||||
Reference in New Issue
Block a user