rockbox/firmware/drivers/audio
Dana Conrad 4dc602dd7f 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
2021-04-17 12:09:19 +00:00
..
aic3x.c Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
ak4376.c New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
ak4537.c Samsung YHxxx: reduce pop noise on power down 2015-09-24 23:06:18 +02:00
android.c iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
as3514.c as3543: fix audio gap when switching from dac to line-in/recording 2016-08-29 08:16:27 +02:00
audiohw-swcodec.c Fix 6e211ab errors and warnings. 2013-05-23 14:58:57 -04:00
cs42l55.c iPod Classic: capture support for CS42L55 codec 2015-10-07 06:15:03 +02:00
cs4398.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
dac3550a.c Straighten out the mad twisted state of sound.c and related areas. 2013-04-15 12:02:05 -04:00
df1704.c ma9: Slightly change df1704 driver API. 2013-11-05 09:59:45 +04:00
dummy_codec.c Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
erosqlinux_codec.c erosq: Tweak volume scale to be approximately correct 2021-04-17 12:09:19 +00:00
es9018.c Add Xuelin iHIFI 770/770C/800 support 2019-01-02 08:10:01 -05:00
fiiolinux_codec.c hosted: Don't open alsa control device directly 2021-04-14 01:39:57 +00:00
imx233-codec.c imx233: slightly rework 3D audio setting 2016-12-12 12:15:24 +01:00
nwzlinux-codec.c nwz/alsa: various improvements 2020-10-31 14:16:31 +00:00
pcm1792.c ma8/ma9: Cleanup - fix tabs, remove unused defines. 2013-11-05 13:34:52 +04:00
rk27xx_codec.c Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
rocker_codec.c hosted: Don't open alsa control device directly 2021-04-14 01:39:57 +00:00
sdl.c Add new audiohw capability: POWER_MODE_CAP 2021-03-22 13:00:11 +00:00
tlv320.c Add missing kernel.h includes (hopefully all of them). 2014-01-05 20:32:09 +01:00
tsc2100.c Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
uda1341.c Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
uda1380.c coldfire: Allow building when 88KHz audio is disabled 2020-10-03 15:57:38 -04:00
wm8731.c wm8731: document audiohw settings 2016-12-12 13:11:25 +01:00
wm8740.c Add Xuelin iHIFI 770/770C/800 support 2019-01-02 08:10:01 -05:00
wm8751.c wm8751: document and fix audiohw settings 2016-12-12 13:12:15 +01:00
wm8758.c wm8758: document and fix audiohw settings 2016-12-12 13:12:47 +01:00
wm8975.c wm8975: document audiohw settings 2016-12-12 13:13:13 +01:00
wm8978.c Samsung YP-R1 target port 2014-02-05 09:56:21 +01:00
wm8985.c Fix various reds. Some includes needed fixup. 2014-03-03 19:10:48 +01:00
xduoolinux_codec.c hosted: Don't open alsa control device directly 2021-04-14 01:39:57 +00:00