Skip to content

Commit f787755

Browse files
authored
Merge pull request #12 from FoamyGuy/higher_headphone_volume
increase default headphone volume a little
2 parents 1c7d358 + 86f50eb commit f787755

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_tlv320.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
# and dac_volume as the main volume control fader)
103103
#
104104
# CAUTION: This will be *way* too loud for earbuds, please be careful!
105-
dac.headphone_volume = -15.5 # default is -51.8 dB
105+
dac.headphone_volume = -15.5 # default is -30.1 dB
106106
107107
API
108108
---
@@ -2130,7 +2130,7 @@ def headphone_output(self) -> bool:
21302130
impedance earbuds:
21312131
21322132
* dac_volume = -20
2133-
* headphone_volume = -51.8
2133+
* headphone_volume = -30.1
21342134
* headphone_left_gain = headphone_right_gain = 0
21352135
21362136
If you set this to False, the setter turns off the headphone amp.
@@ -2163,7 +2163,7 @@ def headphone_output(self, enabled: bool) -> None:
21632163
self._page1._configure_headphone_driver(
21642164
left_powered=True, right_powered=True, common=HP_COMMON_1_65V
21652165
)
2166-
self.headphone_volume = -52.8
2166+
self.headphone_volume = -30.1
21672167
# NOTE: If you use DAC_ROUTE_HP here instead of DAC_ROUTE_MIXER,
21682168
# the DAC output will bypass the headphone analog volume
21692169
# attenuation stage and go straight into the headphone amp. That

0 commit comments

Comments
 (0)