You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Teensy-reSID/reSID.h

25 lines
397 B

9 years ago
#include "sid.h"
#ifndef play_sid_h_
#define play_sid_h_
#include <AudioStream.h>
class AudioPlaySID : public AudioStream
{
public:
AudioPlaySID(void) : AudioStream(0, NULL) { begin(); }
void begin(void);
void setreg(int ofs, int val);
void reset(void);
void stop(void);
bool isPlaying(void) { return playing; }
virtual void update(void);
private:
volatile bool playing;
};
#endif