Skip to content

Commit

Permalink
improve speaker volume (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
haklein authored Dec 5, 2024
1 parent bdf12a4 commit 612f68f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Software/src/Version 6/MorseOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -669,14 +669,15 @@ void MorseOutput::soundSetup()

codec.enableSpeakers();

codec.setDacLeftDigitalVolumeDB(20.0);
codec.setDacRightDigitalVolumeDB(20.0);
codec.setDacLeftDigitalVolume(255);
codec.setDacRightDigitalVolume(255);

Serial.println("SPKR Volume set to 0dB");
codec.setSpeakerVolumeDB(6.00);
codec.setSpeakerVolumeDB(0.00);
codec.setSpeakerDcGain(5);
codec.setSpeakerAcGain(5);

codec.enableHeadphones();
codec.setHeadphoneVolumeDB(6.00);
codec.setHeadphoneVolumeDB(0.00);

// headphone jack detection
codec.enableHeadphoneJackDetect();
Expand Down

0 comments on commit 612f68f

Please sign in to comment.