When I call the AudioControlSGTL5000::volume() function with a value of 0.00 which in effect calls the muteHeadPhone() function, the LineOut audio goes bad.
Steps To Reproduce Problem
A call to AudioControlSGTL5000::volume(0.00) will make the LineOut audio go bad. When I remove the call to muteHeadPhone() from AudioControlSGTL5000::volumeInteger(), the problem is gone and the LineOut audio is ok again.
Description
When I call the AudioControlSGTL5000::volume() function with a value of 0.00 which in effect calls the muteHeadPhone() function, the LineOut audio goes bad.
Steps To Reproduce Problem
A call to AudioControlSGTL5000::volume(0.00) will make the LineOut audio go bad. When I remove the call to muteHeadPhone() from AudioControlSGTL5000::volumeInteger(), the problem is gone and the LineOut audio is ok again.
Hardware & Software
Board: Teensy 4.0 Shields / modules used: Teensy Audio Shield Rev. D2 Arduino IDE version: 2.2.1 Teensyduino version: 1.58.1 Operating system & version: macOS Ventura 13.6
Arduino Sketch