PC speaker: add option to reset phase on freq chan

ge

some motherboards do so
This commit is contained in:
tildearrow 2024-01-11 14:50:53 -05:00
parent 8a14435b4a
commit 53c625354b
3 changed files with 11 additions and 1 deletions

View file

@ -51,7 +51,7 @@ class DivPlatformPCSpeaker: public DivDispatch {
FixedQueue<RealQueueVal,2048> realQueue;
std::mutex realQueueLock;
bool isMuted[1];
bool on, flip, lastOn, realOutEnabled;
bool on, flip, lastOn, realOutEnabled, resetPhase;
int pos, speakerType, beepFD, realOutMethod;
float low, band;
float low2, high2, band2;