1
0
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:
Thomas Harte
2024-02-01 21:47:44 -05:00
parent 3827929a15
commit c6c9be0b08
14 changed files with 23 additions and 14 deletions

View File

@@ -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) {