Only play (headset) on after first pause

This commit is contained in:
Allen Hill
2026-06-20 20:29:49 -07:00
parent 355b01964f
commit 796c868255
+4 -1
View File
@@ -260,7 +260,10 @@ static inline void resetStatusTimer() {
// Sets CD_mode to play and resets timer count (so that the next interrupt is in // Sets CD_mode to play and resets timer count (so that the next interrupt is in
// 1 sec) // 1 sec)
static void AVCLAN_startPlaying() { static void AVCLAN_startPlaying() {
AVCLAN_micPlayPause(); static bool havePlayed = false;
if (havePlayed)
AVCLAN_micPlayPause();
havePlayed |= true;
CD_Mode = stPlay; CD_Mode = stPlay;
resetStatusTimer(); resetStatusTimer();
} }