EdgeTX / edgetx

EdgeTX is the cutting edge open source firmware for your R/C radio
https://edgetx.org
GNU General Public License v2.0
1.59k stars 339 forks source link

Unpredictable and Random Beeping and Haptics on Every Track Play #4488

Open glieb716 opened 10 months ago

glieb716 commented 10 months ago

Is there an existing issue for this problem?

What part of EdgeTX is the focus of this bug?

Transmitter firmware

Current Behavior

Every time a track is played, internally (like "trim center", "welcome to edgetx", "telemetry lost") or from a special function there is wildly random haptic feedback and beeping played during or right after the track. I have recreated it with nearly every audio track I can think of. I am on the very latest nightly for the radiomaster pocket as of Dec 30. Interestingly, this bug started occurring on the previous nightly firmware after not having been there when I first flashed it. The problem started and then persisted to the newest build.

https://github.com/EdgeTX/edgetx/assets/54462296/15c809db-308c-4468-8cc4-cc5c158a361c

Expected Behavior

I expect that none of the beeping or haptics that im experiencing during audio should occur.

Steps To Reproduce

  1. Play audiotrack
  2. Wild, unexpected beeping and buzzing

Version

Nightly (Please give date/commit below)

Transmitter

RadioMaster Pocket

Operating System (OS)

No response

OS Version

No response

Anything else?

Build is nightly from Dec 30. Commit #4207 (#4471)?

glieb716 commented 10 months ago

I can fix this by having sound and haptics set to alarm but the issue is still there and I like having them on NoKey

glieb716 commented 10 months ago

setting the sound and haptics from quiet, to all, then back to nokey has fixed the issue. some sort of stack or memory buffer that queues the sound and haptics corrupted between firmware flashes?