|
rk3308 Master Playback Volume出不来,使用默认的asound.conf,抱各位大佬大腿
发表于 2020-8-26 15:32:36
浏览:6105
|
回复:2
打印
只看该作者
[复制链接]
楼主
tinymix contents 看不到Master Playback Volume,如下# tinymix contents
Number of controls: 78
ctl type num name value
0 INT 1 ADC MIC Group 0 Left Volume 0 (range 0->3)
1 INT 1 ADC MIC Group 0 Right Volume 0 (range 0->3)
2 INT 1 ADC MIC Group 1 Left Volume 0 (range 0->3)
3 INT 1 ADC MIC Group 1 Right Volume 0 (range 0->3)
4 INT 1 ADC MIC Group 2 Left Volume 0 (range 0->3)
5 INT 1 ADC MIC Group 2 Right Volume 0 (range 0->3)
6 INT 1 ADC MIC Group 3 Left Volume 0 (range 0->3)
7 INT 1 ADC MIC Group 3 Right Volume 0 (range 0->3)
8 INT 1 ALC AGC Group 0 Left Volume 12 (range 0->31)
9 INT 1 ALC AGC Group 0 Right Volume 12 (range 0->31)
10 INT 1 ALC AGC Group 1 Left Volume 12 (range 0->31)
11 INT 1 ALC AGC Group 1 Right Volume 12 (range 0->31)
12 INT 1 ALC AGC Group 2 Left Volume 12 (range 0->31)
13 INT 1 ALC AGC Group 2 Right Volume 12 (range 0->31)
14 INT 1 ALC AGC Group 3 Left Volume 12 (range 0->31)
15 INT 1 ALC AGC Group 3 Right Volume 12 (range 0->31)
16 INT 1 ALC AGC Group 0 Left Max Volume 7 (range 0->7)
17 INT 1 ALC AGC Group 0 Right Max Volume 7 (range 0->7)
18 INT 1 ALC AGC Group 1 Left Max Volume 7 (range 0->7)
19 INT 1 ALC AGC Group 1 Right Max Volume 7 (range 0->7)
20 INT 1 ALC AGC Group 2 Left Max Volume 7 (range 0->7)
21 INT 1 ALC AGC Group 2 Right Max Volume 7 (range 0->7)
22 INT 1 ALC AGC Group 3 Left Max Volume 7 (range 0->7)
23 INT 1 ALC AGC Group 3 Right Max Volume 7 (range 0->7)
24 INT 1 ALC AGC Group 0 Left Min Volume 0 (range 0->7)
25 INT 1 ALC AGC Group 0 Right Min Volume 0 (range 0->7)
26 INT 1 ALC AGC Group 1 Left Min Volume 0 (range 0->7)
27 INT 1 ALC AGC Group 1 Right Min Volume 0 (range 0->7)
28 INT 1 ALC AGC Group 2 Left Min Volume 0 (range 0->7)
29 INT 1 ALC AGC Group 2 Right Min Volume 0 (range 0->7)
30 INT 1 ALC AGC Group 3 Left Min Volume 0 (range 0->7)
31 INT 1 ALC AGC Group 3 Right Min Volume 0 (range 0->7)
32 ENUM 1 ALC AGC Group 0 Left Switch , OffOn
33 ENUM 1 ALC AGC Group 0 Right Switch , OffOn
34 ENUM 1 ALC AGC Group 1 Left Switch , OffOn
35 ENUM 1 ALC AGC Group 1 Right Switch , OffOn
36 ENUM 1 ALC AGC Group 2 Left Switch , OffOn
37 ENUM 1 ALC AGC Group 2 Right Switch , OffOn
38 ENUM 1 ALC AGC Group 3 Left Switch , OffOn
39 ENUM 1 ALC AGC Group 3 Right Switch , OffOn
40 ENUM 1 AGC Group 0 Left Approximate Sample Rate, 96KHz48KHz44.1KHz32KHz24KHz16KHz12KHz8KHz
41 ENUM 1 AGC Group 0 Right Approximate Sample Rate, 96KHz48KHz44.1KHz32KHz24KHz16KHz12KHz8KHz
42 ENUM 1 AGC Group 1 Left Approximate Sample Rate, 96KHz48KHz44.1KHz32KHz24KHz16KHz12KHz8KHz
43 ENUM 1 AGC Group 1 Right Approximate Sample Rate, 96KHz48KHz44.1KHz32KHz24KHz16KHz12KHz8KHz
44 ENUM 1 AGC Group 2 Left Approximate Sample Rate, 96KHz48KHz44.1KHz32KHz24KHz16KHz12KHz8KHz
45 ENUM 1 AGC Group 2 Right Approximate Sample Rate, 96KHz48KHz44.1KHz32KHz24KHz16KHz12KHz8KHz
46 ENUM 1 AGC Group 3 Left Approximate Sample Rate, 96KHz48KHz44.1KHz32KHz24KHz16KHz12KHz8KHz
47 ENUM 1 AGC Group 3 Right Approximate Sample Rate, 96KHz48KHz44.1KHz32KHz24KHz16KHz12KHz8KHz
48 ENUM 1 ADC MICBIAS Voltage VREFx0_5VREFx0_55VREFx0_6VREFx0_65VREFx0_7VREFx0_75VREFx0_8, VREFx0_85
49 ENUM 1 ADC Main MICBIAS , OffOn
50 BOOL 1 ADC MICBIAS1 Off
51 BOOL 1 ADC MICBIAS2 Off
52 ENUM 1 ADC MIC Group 0 Left Switch Work, Mute
53 ENUM 1 ADC MIC Group 0 Right Switch Work, Mute
54 ENUM 1 ADC MIC Group 1 Left Switch Work, Mute
55 ENUM 1 ADC MIC Group 1 Right Switch Work, Mute
56 ENUM 1 ADC MIC Group 2 Left Switch Work, Mute
57 ENUM 1 ADC MIC Group 2 Right Switch Work, Mute
58 ENUM 1 ADC MIC Group 3 Left Switch Work, Mute
59 ENUM 1 ADC MIC Group 3 Right Switch Work, Mute
60 INT 1 ADC ALC Group 0 Left Volume 12 (range 0->31)
61 INT 1 ADC ALC Group 0 Right Volume 12 (range 0->31)
62 INT 1 ADC ALC Group 1 Left Volume 12 (range 0->31)
63 INT 1 ADC ALC Group 1 Right Volume 12 (range 0->31)
64 INT 1 ADC ALC Group 2 Left Volume 12 (range 0->31)
65 INT 1 ADC ALC Group 2 Right Volume 12 (range 0->31)
66 INT 1 ADC ALC Group 3 Left Volume 12 (range 0->31)
67 INT 1 ADC ALC Group 3 Right Volume 12 (range 0->31)
68 ENUM 1 ADC Group 0 HPF Cut-off , OffOn
69 ENUM 1 ADC Group 1 HPF Cut-off , OffOn
70 ENUM 1 ADC Group 2 HPF Cut-off , OffOn
71 ENUM 1 ADC Group 3 HPF Cut-off , OffOn
72 INT 1 DAC LINEOUT Left Volume 0 (range 0->3)
73 INT 1 DAC LINEOUT Right Volume 0 (range 0->3)
74 INT 1 DAC HPOUT Left Volume 0 (range 0->30)
75 INT 1 DAC HPOUT Right Volume 0 (range 0->30)
76 INT 1 DAC HPMIX Left Volume 0 (range 0->1)
77 INT 1 DAC HPMIX Right Volume 0 (range 0->1)
asound.conf没有做修改,如下:
defaults.pcm.rate_converter "speexrate_medium"
pcm.!default
{
type asym
playback.pcm {
type plug
slave.pcm "softvol"
}
capture.pcm {
type plug
slave {
pcm "hw:0,0"
}
}
}
pcm.softvol {
type softvol
slave.pcm "playback"
control {
name "Master Playback Volume"
card 0
}
min_dB -40.0
max_dB 0.0
resolution 100
}
pcm.playback {
type dmix
ipc_key 5978293 # must be unique for all dmix plugins!!!!
ipc_key_add_uid yes
slave {
pcm "hw:7,0,0"
channels 2
period_size 1024
buffer_size 4096
}
bindings {
0 0
1 1
}
}
pcm.real_playback {
type dshare
ipc_key 5978293 # must be unique for all dmix plugins!!!!
ipc_key_add_uid yes
slave {
pcm "hw:0,0"
channels 2
rate 48000
period_size 1024
buffer_size 4096
}
bindings {
0 0
1 1
}
}
#aplay -D plug:ladspa /data/test.wav
pcm.ladspa {
type ladspa
slave.pcm "plug:real_playback"
channels 2
path "/usr/lib"
playback_plugins [{
label eq_drc_stereo
input {
controls [4]
}
}]
}
pcm.multi_2_2 {
type multi
slaves.a.pcm "hw:0,0"
slaves.a.channels 4
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave a
bindings.2.channel 2
bindings.3.slave a
bindings.3.channel 3
}
pcm.multi_2_1 {
type multi
slaves.a.pcm "hw:0,0"
slaves.a.channels 4
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave a
bindings.2.channel 2
}
pcm.2mic_loopback
{
type plug
slave.pcm "multi_2_1"
}
pcm.multi_4_1 {
type multi
slaves.a.pcm "hw:0,0"
slaves.a.channels 6
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave a
bindings.2.channel 2
bindings.3.slave a
bindings.3.channel 3
bindings.4.slave a
bindings.4.channel 4
}
pcm.4mic_loopback
{
type plug
slave.pcm "multi_4_1"
}
pcm.multi_8 {
type multi
slaves.a.pcm "hw:1,0"
slaves.b.pcm "hw:0,0"
slaves.a.channels 8
slaves.b.channels 2
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave a
bindings.2.channel 2
bindings.3.slave a
bindings.3.channel 3
bindings.4.slave a
bindings.4.channel 4
bindings.5.slave a
bindings.5.channel 5
bindings.6.slave b
bindings.6.channel 0
bindings.7.slave b
bindings.7.channel 1
}
pcm.dsnooped_6_2 {
ipc_key 1027
type dsnoop
slave {
pcm "hw:0,0"
channels 8
rate 16000
period_size 1024
buffer_size 262144
}
}
pcm.6mic_loopback
{
type plug
slave.pcm "dsnooped_6_2"
}
pcm.fake_record {
type plug
slave.pcm "hw:7,1,0"
}
pcm.fake_play {
type plug
slave.pcm "ladspa"
}
|
|