[Experience sharing] uos基础 pulseaudio 查看声卡配置文件default.conf
Tofloor
poster avatar
行初心
deepin
12 hours ago
Author

统信桌面操作系统专业版V20(1070)
Linux uos 5.10.97-arm64-desktop

uos基础 pulseaudio 查看声卡配置文件default.conf

root@uos:/etc/modprobe.d# cd /usr/share/pulseaudio/alsa-mixer/profile-sets/

root@uos:/usr/share/pulseaudio/alsa-mixer/profile-sets# ls
22d4-us-usb-audio.conf                  native-instruments-traktor-audio10.conf
dahua-4f05-usb-audio.conf               native-instruments-traktor-audio2.conf
default.conf                            native-instruments-traktor-audio6.conf
dell-dock-tb16-usb-audio.conf           native-instruments-traktorkontrol-s4.conf
force-speaker-and-int-mic.conf          phytium-pmdk-dp-x100-hdmi.conf
force-speaker.conf                      pulse-huawei-2-channels-2.conf
fthda-jungong-audio.conf                pulse-huawei-2-channels.conf
fthda-laptop-audio.conf                 pulse-huawei-6-channels.conf
kinect-audio.conf                       pulse-huawei.conf
laptop-usb-fs1-0.conf                   pulse-huawei-hdmi.conf
lenovo-m90h-usb-audio.conf              sb-omni-surround-5.1.conf
loongson-laptop-audio.conf              shield-digital-output.conf
maudio-fasttrack-pro.conf               st2557-pc-usb-audio.conf
msi-disable-digital.conf                steelseries-arctis-usb-audio.conf
native-instruments-audio4dj.conf        unis-4f18-usb-audio.conf
native-instruments-audio8dj.conf        uos-49f0-usb-audio.conf
native-instruments-korecontroller.conf

root@uos:/usr/share/pulseaudio/alsa-mixer/profile-sets# cat default.conf 
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of the
# License, or (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see .

; Default profile definitions for the ALSA backend of PulseAudio. This
; is used as fallback for all cards that have no special mapping
; assigned (and should be good enough for the vast majority of
; cards). If you want to assign a different profile set than this one
; to a device, either set the udev property PULSE_PROFILE_SET for the
; card, or use the "profile_set" module argument when loading
; module-alsa-card.
;
; So what is this about? Simply, what we do here is map ALSA devices
; to how they are exposed in PA. We say which ALSA device string to
; use to open a device, which channel mapping to use then, and which
; mixer path to use. This is encoded in a 'mapping'. Multiple of these
; mappings can be bound together in a 'profile' which is then directly
; exposed in the UI as a card profile. Each mapping assigned to a
; profile will result in one sink/source to be created if the profile
; is selected for the card.
;
; Additionally, the path set configuration files can describe the
; decibel values assigned to the steps of the volume elements. This
; can be used to work around situations when the alsa driver doesn't
; provide any decibel information, or when the information is
; incorrect.


/*此处过长,所以省略*/

[Mapping multichannel-input]
device-strings = hw:%f
channel-map = left,right,rear-left,rear-right
exact-channels = false
fallback = yes
priority = 1
direction = input
paths-input = multichannel-input

; An example for defining multiple-sink profiles
#[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo]
#description = Foobar
#output-mappings = analog-stereo iec958-stereo
#input-mappings = analog-stereo
root@uos:/usr/share/pulseaudio/alsa-mixer/profile-sets#
Reply Favorite View the author
All Replies

No replies yet