Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions adafruit_tlv320.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
# and dac_volume as the main volume control fader)
#
# CAUTION: This will be *way* too loud for earbuds, please be careful!
dac.headphone_volume = -15.5 # default is -51.8 dB
dac.headphone_volume = -15.5 # default is -30.1 dB

API
---
Expand Down Expand Up @@ -2130,7 +2130,7 @@ def headphone_output(self) -> bool:
impedance earbuds:

* dac_volume = -20
* headphone_volume = -51.8
* headphone_volume = -30.1
* headphone_left_gain = headphone_right_gain = 0

If you set this to False, the setter turns off the headphone amp.
Expand Down Expand Up @@ -2163,7 +2163,7 @@ def headphone_output(self, enabled: bool) -> None:
self._page1._configure_headphone_driver(
left_powered=True, right_powered=True, common=HP_COMMON_1_65V
)
self.headphone_volume = -52.8
self.headphone_volume = -30.1
# NOTE: If you use DAC_ROUTE_HP here instead of DAC_ROUTE_MIXER,
# the DAC output will bypass the headphone analog volume
# attenuation stage and go straight into the headphone amp. That
Expand Down