1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-08-16 00:29:01 +00:00
CLK/Machines/Amiga/Audio.hpp

31 lines
492 B
C++
Raw Normal View History

2021-11-09 12:11:23 +00:00
//
// Audio.hpp
// Clock Signal
//
// Created by Thomas Harte on 09/11/2021.
// Copyright © 2021 Thomas Harte. All rights reserved.
//
#ifndef Audio_hpp
#define Audio_hpp
#include "DMADevice.hpp"
namespace Amiga {
class Audio: public DMADevice<4> {
public:
using DMADevice::DMADevice;
bool advance(int channel);
void set_length(int, uint16_t);
void set_period(int, uint16_t);
void set_volume(int, uint16_t);
void set_data(int, uint16_t);
};
}
#endif /* Audio_hpp */