diff options
author | Dana Conrad <dconrad@fastmail.com> | 2021-04-13 20:59:45 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-04-17 12:09:19 +0000 |
commit | 4dc602dd7f763a2ceea7c3e01501cdc3e9de375c (patch) | |
tree | 73dddc9beed4b103940f50415d6575496332f8e6 /firmware/export/erosqlinux_codec.h | |
parent | a9d3e9a13d17c9036e88b4e4a0df40f210cf06d6 (diff) | |
download | rockbox-4dc602dd7f763a2ceea7c3e01501cdc3e9de375c.tar.gz rockbox-4dc602dd7f763a2ceea7c3e01501cdc3e9de375c.zip |
erosq: Tweak volume scale to be approximately correct
Tested on eros q, everything measured from line out,
open circuit.
- volume steps were approximately double the dB they
were labelled as, so "-2 dB" would result in a change
of about -4 dB from maximum (0, +6.2dBV)
- maximum volume defining the line out volume only
changed every 10 values, and then was not close
to correct- "-10 dB" resulted in -2.5 dB from maximum
This gets the volume dB approximately correct, and
maximum volume correctly sets the line out volume.
I was unable to get odd values in the max volume
to work, so set the step size to 2 instead of one.
For "consumer level" (-10dBV), set to -16.
For "Pro level" (+4dBu -> ~1.8dBV), set to -4.
Change-Id: I898b85d768153579a893b23551019af88f865d21
Diffstat (limited to 'firmware/export/erosqlinux_codec.h')
-rw-r--r-- | firmware/export/erosqlinux_codec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/erosqlinux_codec.h b/firmware/export/erosqlinux_codec.h index c337bb78c7..b6ab58fa74 100644 --- a/firmware/export/erosqlinux_codec.h +++ b/firmware/export/erosqlinux_codec.h | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | #define AUDIOHW_CAPS (LINEOUT_CAP) | 4 | #define AUDIOHW_CAPS (LINEOUT_CAP) |
5 | 5 | ||
6 | AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -43, 0, -20) | 6 | AUDIOHW_SETTING(VOLUME, "dB", 0, 2, -74, 0, -40) |
7 | 7 | ||
8 | //#define AUDIOHW_NEEDS_INITIAL_UNMUTE | 8 | //#define AUDIOHW_NEEDS_INITIAL_UNMUTE |
9 | 9 | ||