aiie/linuxfb/linux-speaker.h

24 lines
453 B
C
Raw Normal View History

#ifndef __SDLSPEAKER_H
#define __SDLSPEAKER_H
#include <stdio.h>
#include <stdint.h>
#include "physicalspeaker.h"
#define SPEAKERQUEUESIZE 64
class LinuxSpeaker : public PhysicalSpeaker {
public:
LinuxSpeaker();
virtual ~LinuxSpeaker();
2019-02-28 18:25:48 +00:00
virtual void begin();
virtual void toggle(uint32_t c);
virtual void maintainSpeaker(uint32_t c, uint64_t microseconds);
virtual void beginMixing();
virtual void mixOutput(uint8_t v);
};
#endif