Cracking speaker noises when adjusting volume
Hi
Whenever I change the volume of my MacBook Pro M1 using an external device (either my keyboard or mouse, neither apple branded) the volume slider stutters and there is a cracking noise. Additionally for some weird reason whenever I press the caps lock key similar behaviour, sound cuts out for a second with a crackle. When I use the inbuilt volume slider on the Touch Bar, no issues at all.
This is not a hardware issue as I previously did not have this issue out of the box for a few months, I only encountered this issue ever since 11.3.1. Have updated to the latest one (11.5.1) and has not been fixed so far. To confirm this is not hardware, even when connecting earphones or external speakers the behaviour is exactly the same. Pressing caps lock via an external keyboard or changing the volume replicates the same behaviour. So it's neither the inbuilt speakers nor the headphone jack, nor a faulty keyboard. Just a software issue.
Restarting the machine does fix the issue temporarily but it will come back within a day, so it is not the solution. Googling around I don't see others mentioning the same issue although I have found one redditor mentioning the same. I am assuming it's because most people don't use their Macbooks a like desktop with other perhipherals hence no issue.
A solution or forwarding the bug to the development team would be appreciated.
Thank you
MacBook Pro 13″, macOS 11.5