mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
If there is a "Line Out" jack present, then add this path. The fallback analog-output will be a subset of this path and removed. I only use the "Line Out Jack" or "Line Out Front Jack" for actual jack detection - without anything connected to the front jack, it makes little sense to enable the port. (Another option could perhaps be to use different paths for stereo line out and surround line outs, but that could be a possible future improvement.)
122 lines
4.7 KiB
Text
122 lines
4.7 KiB
Text
# 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, write to the Free Software Foundation,
|
|
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
|
|
|
; This profile forces speaker and internal mic ports even if we have no way
|
|
; of identifying those.
|
|
; See default.conf for explanations.
|
|
|
|
[General]
|
|
auto-profiles = yes
|
|
|
|
[Mapping analog-mono]
|
|
device-strings = hw:%f
|
|
channel-map = mono
|
|
paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-desktop-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono
|
|
paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic-always analog-input-dock-mic analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line
|
|
priority = 1
|
|
|
|
[Mapping analog-stereo]
|
|
device-strings = front:%f hw:%f
|
|
channel-map = left,right
|
|
paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-desktop-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono
|
|
paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic-always analog-input-dock-mic analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line
|
|
priority = 10
|
|
|
|
[Mapping analog-surround-40]
|
|
device-strings = surround40:%f
|
|
channel-map = front-left,front-right,rear-left,rear-right
|
|
paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-desktop-speaker
|
|
priority = 7
|
|
direction = output
|
|
|
|
[Mapping analog-surround-41]
|
|
device-strings = surround41:%f
|
|
channel-map = front-left,front-right,rear-left,rear-right,lfe
|
|
paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-desktop-speaker
|
|
priority = 8
|
|
direction = output
|
|
|
|
[Mapping analog-surround-50]
|
|
device-strings = surround50:%f
|
|
channel-map = front-left,front-right,rear-left,rear-right,front-center
|
|
paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-desktop-speaker
|
|
priority = 7
|
|
direction = output
|
|
|
|
[Mapping analog-surround-51]
|
|
device-strings = surround51:%f
|
|
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
|
|
paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-desktop-speaker
|
|
priority = 8
|
|
direction = output
|
|
|
|
[Mapping analog-surround-71]
|
|
device-strings = surround71:%f
|
|
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
|
|
description = Analog Surround 7.1
|
|
paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-desktop-speaker
|
|
priority = 7
|
|
direction = output
|
|
|
|
[Mapping analog-4-channel-input]
|
|
# Alsa doesn't currently provide any better device name than "hw" for 4-channel
|
|
# input. If this causes trouble at some point, then we will need to get a new
|
|
# device name standardized in alsa.
|
|
device-strings = hw:%f
|
|
channel-map = aux0,aux1,aux2,aux3
|
|
priority = 1
|
|
direction = input
|
|
|
|
[Mapping iec958-stereo]
|
|
device-strings = iec958:%f
|
|
channel-map = left,right
|
|
paths-input = iec958-stereo-input
|
|
paths-output = iec958-stereo-output
|
|
priority = 5
|
|
|
|
[Mapping iec958-ac3-surround-40]
|
|
device-strings = a52:%f
|
|
channel-map = front-left,front-right,rear-left,rear-right
|
|
paths-output = iec958-stereo-output
|
|
priority = 2
|
|
direction = output
|
|
|
|
[Mapping iec958-ac3-surround-51]
|
|
device-strings = a52:%f
|
|
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
|
|
paths-output = iec958-stereo-output
|
|
priority = 3
|
|
direction = output
|
|
|
|
[Mapping iec958-dts-surround-51]
|
|
device-strings = dca:%f
|
|
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
|
|
paths-output = iec958-stereo-output
|
|
priority = 3
|
|
direction = output
|
|
|
|
[Mapping hdmi-stereo]
|
|
device-strings = hdmi:%f
|
|
channel-map = left,right
|
|
priority = 4
|
|
direction = output
|
|
paths-output = hdmi-output-0
|
|
|
|
; 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
|