我正在运行带有 ALSA 声音的 Ubuntu 16.0.4 LTS 的 Linux 内核 4.4.0。该发行版pulseaudio
默认附带,但我卸载了它,以便直接使用 ALSA 运行所有声音。
安装后pulseaudio
,声音工作正常,因为我能够很好地听到系统声音。但卸载后pulseaudio
听不到任何声音。
声音确实产生了,但音量太小,你听不到任何声音。
我将此声卡的所有播放音量设置为最大 100%,alsamixer
但这没有帮助。
知道这里可能出什么问题吗?
的输出cat /proc/asound/cards
是:
0 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xf7430000 irq 33
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf3080000 irq 17
2 [amplifier ]: USB-Audio - 4.1 amplifier
4.1 amplifier at usb-0000:00:14.0-5, full speed
我的声音是4.1 Amplifier
设备,它是card 2
中的放大器部分/var/lib/alsa/asound.state
是:
state.amplifier {
control.1 {
iface PCM
name 'Playback Channel Map'
value.0 0
value.1 0
value.2 0
value.3 0
value.4 0
value.5 0
value.6 0
value.7 0
comment {
access read
type INTEGER
count 8
range '0 - 36'
}
}
control.2 {
iface PCM
name 'Capture Channel Map'
value.0 0
value.1 0
comment {
access read
type INTEGER
count 2
range '0 - 36'
}
}
control.3 {
iface MIXER
name 'Mic Playback Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.4 {
iface MIXER
name 'Mic Playback Volume'
value.0 6144
value.1 6144
comment {
access 'read write'
type INTEGER
count 2
range '0 - 8065'
dbmin -2400
dbmax 750
dbvalue.0 -1
dbvalue.1 -1
}
}
control.5 {
iface MIXER
name 'Line Playback Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.6 {
iface MIXER
name 'Line Playback Volume'
value.0 6144
value.1 6144
comment {
access 'read write'
type INTEGER
count 2
range '0 - 8065'
dbmin -2400
dbmax 750
dbvalue.0 -1
dbvalue.1 -1
}
}
control.7 {
iface MIXER
name 'Speaker Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.8 {
iface MIXER
name 'Speaker Playback Volume'
value.0 122
value.1 122
value.2 196
value.3 196
value.4 196
value.5 196
value.6 196
value.7 196
comment {
access 'read write'
type INTEGER
count 8
range '0 - 197'
dbmin -3693
dbmax 0
dbvalue.0 -1406
dbvalue.1 -1406
dbvalue.2 -19
dbvalue.3 -19
dbvalue.4 -19
dbvalue.5 -19
dbvalue.6 -19
dbvalue.7 -19
}
}
control.9 {
iface MIXER
name 'Mic Capture Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.10 {
iface MIXER
name 'Mic Capture Volume'
value.0 4096
value.1 4096
comment {
access 'read write'
type INTEGER
count 2
range '0 - 6928'
dbmin -1600
dbmax 1106
dbvalue.0 -1
dbvalue.1 -1
}
}
control.11 {
iface MIXER
name 'Line Capture Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.12 {
iface MIXER
name 'Line Capture Volume'
value.0 4096
value.1 4096
comment {
access 'read write'
type INTEGER
count 2
range '0 - 6928'
dbmin -1600
dbmax 1106
dbvalue.0 -1
dbvalue.1 -1
}
}
control.13 {
iface MIXER
name 'IEC958 In Capture Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.14 {
iface MIXER
name 'PCM Capture Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.15 {
iface MIXER
name 'PCM Capture Volume'
value.0 4096
value.1 4096
comment {
access 'read write'
type INTEGER
count 2
range '0 - 6928'
dbmin -1600
dbmax 1106
dbvalue.0 -1
dbvalue.1 -1
}
}
control.16 {
iface MIXER
name 'PCM Capture Source'
value Mic
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Mic
item.1 Line
item.2 'IEC958 In'
item.3 Mixer
}
}
}
我确实将所有播放通道的音量设置为最大,alsamixer
但这不起作用。音量仍然非常非常低。