mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-10-08 05:56:48 +00:00
19 lines
360 B
C++
19 lines
360 B
C++
#ifndef __PHYSICALSPEAKER_H
|
|
#define __PHYSICALSPEAKER_H
|
|
|
|
#include <stdint.h>
|
|
|
|
class PhysicalSpeaker {
|
|
public:
|
|
virtual ~PhysicalSpeaker() {}
|
|
|
|
virtual void toggleAtCycle(uint32_t c) = 0;
|
|
virtual void maintainSpeaker(uint32_t c) = 0;
|
|
virtual void beginMixing() = 0;
|
|
virtual void mixOutput(uint8_t v) = 0;
|
|
virtual bool currentState() = 0;
|
|
|
|
};
|
|
|
|
#endif
|