alsa: document default profile set a bit better

This commit is contained in:
Lennart Poettering 2009-06-18 23:00:53 +02:00
parent 8a5f8f41f6
commit 0fd17c6cb9

View file

@ -1,22 +1,43 @@
# Profile definitions for PulseAudio's ALSA backend # This file is part of PulseAudio.
# #
# [Mapping id] # PulseAudio is free software; you can redistribute it and/or modify
# device-strings = ... # it under the terms of the GNU Lesser General Public License as
# channel-map = ... # published by the Free Software Foundation; either version 2.1 of the
# description = ... # License, or (at your option) any later version.
# paths-input = ...
# paths-output = ...
# element-input = ...
# element-output = ...
# priority = ...
# direction = any | input | output
# #
# [Profile id] # PulseAudio is distributed in the hope that it will be useful, but
# input-mappings = ... # WITHOUT ANY WARRANTY; without even the implied warranty of
# output-mappings = ... # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# description = ... # General Public License for more details.
# priority = ... #
# skip-probe = no | yes # 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.
; 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)
;
; [General]
; auto-profiles = no | yes # Instead of defining all profiles manually, autogenerate them by combining every input mapping with every output mapping.
;
; [Mapping id]
; device-strings = ... # ALSA device string. %f will be replaced by the card identifier.
; channel-map = ... # Channel mapping to use for this device
; description = ...
; paths-input = ... # A list of mixer paths to use. Every path in this list will be probed. If multiple are found to be working they will be available as device ports
; paths-output = ...
; element-input = ... # Instead of configuring a full mixer path simply configure a single mixer element for volume/mute handling
; element-output = ...
; priority = ...
; direction = any | input | output # Only useful for?
;
; [Profile id]
; input-mappings = ... # Lists mappings for sources on this profile, those mapping must be defined in this file too
; output-mappings = ... # Lists mappings for sinks on this profile, those mappings must be defined in this file too
; description = ...
; priority = ... # Numeric value to deduce priority for this profile
; skip-probe = no | yes # Skip probing for availability?
[General] [General]
auto-profiles = yes auto-profiles = yes
@ -99,6 +120,7 @@ channel-map = left,right
priority = 4 priority = 4
direction = output direction = output
; An example for defining multiple-sink profiles
#[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo] #[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo]
#description = Foobar #description = Foobar
#output-mappings = analog-stereo iec958-stereo #output-mappings = analog-stereo iec958-stereo