williamzhang 发表于 2018-12-24 15:55:14

RK3399如何设置默认的声卡

本帖最后由 williamzhang 于 2018-12-24 16:01 编辑

现在的板子有两块声卡,一块是5640,一块是hdmi
所以发现直接发声有时候会发不出声音

这个默认声卡有配置文件可以设置么?希望能设置成5640,哪位大神指点一下?

metind 发表于 2018-12-26 14:56:38

Firstly use this to define sound cards
pactl list short sinks
You will get a list as;
module-alsa-card.c        s16le 2ch 44100Hz        SUSPENDED
1        alsa_output.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo        module-alsa-card.c        s16le 2ch 44100Hz        SUSPENDED
2        alsa_output.usb-FiiO_DigiHug_USB_Audio-01.analog-stereo        module-alsa-card.c        s16le 2ch 44100Hz        SUSPENDED
3        alsa_output.pci-0000_00_1f.3.analog-stereo        module-alsa-card.c        s16le 2ch 48000Hz        RUNNING

Then select you have to use hdmi and to set it use this command;
pactl set-default-sink 'alsa_output.pci-0000_00_1f.3.analog-stereo'

open/etc/pulse/default.paand change the related lines as;

### Make some devices default
set-default-sink 3
set-default-source 3

Pls use index numbers and names as your output values.
页: [1]
查看完整版本: RK3399如何设置默认的声卡