PC speaker: use evdev instead of KIOCSOUND
still unsupported
This commit is contained in:
parent
c34b8325c9
commit
86a71cc6a2
2 changed files with 36 additions and 8 deletions
|
|
@ -53,7 +53,7 @@ class DivPlatformPCSpeaker: public DivDispatch {
|
|||
Channel chan[1];
|
||||
bool isMuted[1];
|
||||
bool on, flip, lastOn;
|
||||
int pos, speakerType;
|
||||
int pos, speakerType, beepFD;
|
||||
float low, band;
|
||||
float low2, high2, band2;
|
||||
float low3, band3;
|
||||
|
|
@ -62,6 +62,8 @@ class DivPlatformPCSpeaker: public DivDispatch {
|
|||
|
||||
friend void putDispatchChan(void*,int,int);
|
||||
|
||||
void beepFreq(int freq);
|
||||
|
||||
void acquire_unfilt(short* bufL, short* bufR, size_t start, size_t len);
|
||||
void acquire_cone(short* bufL, short* bufR, size_t start, size_t len);
|
||||
void acquire_piezo(short* bufL, short* bufR, size_t start, size_t len);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue