1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

Completes piping of audio.

This commit is contained in:
Thomas Harte 2021-03-19 23:33:46 -04:00
parent 09a6a1905b
commit cf9a5d595b

View File

@ -41,6 +41,7 @@ using Model = Analyser::Static::ZXSpectrum::Target::Model;
template<Model model> class ConcreteMachine: template<Model model> class ConcreteMachine:
public Configurable::Device, public Configurable::Device,
public Machine, public Machine,
public MachineTypes::AudioProducer,
public MachineTypes::MappedKeyboardMachine, public MachineTypes::MappedKeyboardMachine,
public MachineTypes::MediaTarget, public MachineTypes::MediaTarget,
public MachineTypes::ScanProducer, public MachineTypes::ScanProducer,
@ -343,6 +344,12 @@ template<Model model> class ConcreteMachine:
set_use_fast_tape(); set_use_fast_tape();
} }
// MARK: - AudioProducer.
Outputs::Speaker::Speaker *get_speaker() override {
return &speaker_;
}
private: private:
CPU::Z80::Processor<ConcreteMachine, false, false> z80_; CPU::Z80::Processor<ConcreteMachine, false, false> z80_;