mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-26 11:49:19 +00:00
22 lines
426 B
C
22 lines
426 B
C
|
#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();
|
||
|
|
||
|
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
|