[pulseaudio-tickets] [Bug 73336] Clipping of line-in volume on Analog Devices codes due to an incorrect max_dB determination

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 8 04:54:27 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=73336

--- Comment #8 from mrj at advancedcontrols.com.au ---
Here's the same PA volume to ALSA volume mapping under 3.11.9. Line and mic are
identically monotonic.

   LINE            MIC
    0, 0            0, 0
 1000, 0         1000, 0
 2000, 0         2000, 0
 3000, 0         3000, 0
 4000, 5         4000, 5
 5000, 9         5000, 9
 6000,12         6000,12 
 7000,15         7000,15 
 8000,17         8000,17 
 9000,19         9000,19 
10000,21        10000,21 
11000,23        11000,23 
12000,24        12000,24 
13000,25        13000,25 
14000,27        14000,27 
15000,28        15000,28 
16000,29        16000,29 
17000,30        17000,30 
18000,31        18000,31 
19000,32        19000,32 
20000,33        20000,33 
21000,34        21000,34 
22000,35        22000,35 
23000,35        23000,35 
24000,36        24000,36 
25000,37        25000,37 
26000,37        26000,37 
27000,38        27000,38 
28000,39        28000,39 
29000,39        29000,39 
30000,40        30000,40 
31000,40        31000,40 
32000,41        32000,41 
33000,42        33000,42 
34000,42        34000,42 
35000,43        35000,43 
36000,43        36000,43 
37000,44        37000,44 
38000,44        38000,44 
39000,44        39000,44 
40000,45        40000,45 
41000,45        41000,45 
42000,46        42000,46 
43000,46        43000,46 
44000,47        44000,47 
45000,47        45000,47 
46000,47        46000,47 
47000,48        47000,48 
48000,48        48000,48 
49000,48        49000,48 
50000,49        50000,49 
51000,49        51000,49 
52000,49        52000,49 
53000,50        53000,50 
54000,50        54000,50 
55000,50        55000,50 
56000,51        56000,51 
57000,51        57000,51 
58000,51        58000,51 
59000,52        59000,52 
60000,52        60000,52 
61000,52        61000,52 
62000,53        62000,53 
63000,53        63000,53 
64000,53        64000,53 
65000,53        65000,53 
66000,54        66000,54 

Note that the 3.12.5 mapping in Comment 6 is slightly wrong because I didn't
know PA commands were asynchronous, and that a delay was needed before the
hardware volume was read. (The hint was that the top volume of 54 wasn't used.)
The correct table is:

  LINE             MIC
    0, 0            0, 0
 1000, 1         1000, 1
 2000,13         2000,13
 3000,20         3000,20
 4000,25         4000,25
 5000,29         5000,29
 6000,32         6000,32
 7000,35         7000,35
 8000,37         8000,37
 9000,39         9000,39
10000,41        10000,41
11000,42        11000,42
12000,44        12000,37
13000,45        13000,39
14000,47        14000,40
15000,48        15000,41
16000,49        16000,42
17000,50        17000,36
18000,51        18000,37
19000,52        19000,39
20000,53        20000,40
21000,54        21000,40
22000,54        22000,41
23000,54        23000,42
24000,54        24000,36
25000,54        25000,36
26000,54        26000,37
27000,54        27000,38
28000,54        28000,39
29000,54        29000,39
30000,54        30000,40
31000,54        31000,40
32000,54        32000,41
33000,54        33000,42
34000,54        34000,42
35000,54        35000,43
36000,54        36000,43
37000,54        37000,44
38000,54        38000,44
39000,54        39000,44
40000,54        40000,45
41000,54        41000,45
42000,54        42000,46
43000,54        43000,46
44000,54        44000,47
45000,54        45000,47
46000,54        46000,47
47000,54        47000,48
48000,54        48000,48
49000,54        49000,48
50000,54        50000,49
51000,54        51000,49
52000,54        52000,49
53000,54        53000,50
54000,54        54000,50
55000,54        55000,50
56000,54        56000,51
57000,54        57000,51
58000,54        58000,51
59000,54        59000,52
60000,54        60000,52
61000,54        61000,52
62000,54        62000,53
63000,54        63000,53
64000,54        64000,53
65000,54        65000,53
66000,54        66000,54

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20140108/a1a62834/attachment.html>


More information about the pulseaudio-bugs mailing list