first commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# 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 <http://www.gnu.org/licenses/>.
|
||||
|
||||
; For devices where a 'Headset Mic' or 'Headset Mic Boost' element exists
|
||||
;
|
||||
; See analog-output.conf.common for an explanation on the directives
|
||||
|
||||
[General]
|
||||
priority = 88
|
||||
description-key = analog-input-microphone-headset
|
||||
|
||||
|
||||
[Element Capture]
|
||||
switch = mute
|
||||
volume = merge
|
||||
override-map.1 = all
|
||||
override-map.2 = all-left,all-right
|
||||
|
||||
.include analog-input-mic.conf.common
|
||||
@@ -0,0 +1,9 @@
|
||||
[General]
|
||||
description = analog-output-headphones
|
||||
priority = 59
|
||||
|
||||
|
||||
[Properties]
|
||||
device.icon_name = rockchip-headphones
|
||||
[Jack Headphone]
|
||||
required = any
|
||||
10
external/packages/bsp/rk3588/usr/share/pulseaudio/alsa-mixer/paths/hdmi-output-rockchip-1.conf
vendored
Normal file
10
external/packages/bsp/rk3588/usr/share/pulseaudio/alsa-mixer/paths/hdmi-output-rockchip-1.conf
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
[General]
|
||||
description = HDMI / DisplayPort1
|
||||
priority = 59
|
||||
eld-device = 0
|
||||
|
||||
[Properties]
|
||||
device.icon_name = rockchip-hdmi0
|
||||
|
||||
[Jack rockchip,hdmi0]
|
||||
required = any
|
||||
10
external/packages/bsp/rk3588/usr/share/pulseaudio/alsa-mixer/paths/hdmi-output-rockchip-2.conf
vendored
Normal file
10
external/packages/bsp/rk3588/usr/share/pulseaudio/alsa-mixer/paths/hdmi-output-rockchip-2.conf
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
[General]
|
||||
description = HDMI / DisplayPort2
|
||||
priority = 59
|
||||
eld-device = 0
|
||||
|
||||
[Properties]
|
||||
device.icon_name = rockchip-hdmi1
|
||||
|
||||
[Jack rockchip,hdmi1]
|
||||
required = any
|
||||
@@ -0,0 +1,43 @@
|
||||
# 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 <http://www.gnu.org/licenses/>.
|
||||
|
||||
; This profile forces a speaker port even if we have no way of identifying it.
|
||||
; See default.conf for explanations.
|
||||
|
||||
[General]
|
||||
auto-profiles = yes
|
||||
|
||||
[Mapping hdmi-stereo]
|
||||
description = Digital Stereo (HDMI)
|
||||
device-strings = hw:%f
|
||||
paths-output = hdmi-output-rockchip-1
|
||||
channel-map = left,right
|
||||
priority = 8
|
||||
direction = output
|
||||
|
||||
description = Digital Stereo (HDMI 2)
|
||||
device-strings = hw:%f
|
||||
paths-output = hdmi-output-rockchip-2
|
||||
channel-map = left,right
|
||||
priority = 21
|
||||
direction = output
|
||||
|
||||
|
||||
|
||||
; 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
|
||||
33
external/packages/bsp/rk3588/usr/share/pulseaudio/alsa-mixer/profile-sets/pulse-rockchip.conf
vendored
Normal file
33
external/packages/bsp/rk3588/usr/share/pulseaudio/alsa-mixer/profile-sets/pulse-rockchip.conf
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
# 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 <http://www.gnu.org/licenses/>.
|
||||
|
||||
; This profile forces a speaker port even if we have no way of identifying it.
|
||||
; See default.conf for explanations.
|
||||
|
||||
[General]
|
||||
auto-profiles = yes
|
||||
|
||||
[Mapping analog-stereo]
|
||||
device-strings = hw:%f
|
||||
channel-map = left,right
|
||||
paths-output = analog-output-headphones-rockchip
|
||||
paths-input = analog-input-headset-mic-rockchip
|
||||
priority = 5
|
||||
|
||||
; 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
|
||||
Reference in New Issue
Block a user