File: ALSA_ports.txt

package info (click to toggle)
libtritonus-java 20070428-9
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 6,948 kB
  • sloc: ansic: 53,816; java: 45,226; sh: 3,022; makefile: 1,188; xml: 820; cpp: 147
file content (34 lines) | stat: -rw-r--r-- 786 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
This file describes the mapping of ALSA mixer element's properties to
sets of Controls of the Port line that abstracts the mixer element.

L/R channels (mono false)
common volume false
(playback) vol true (not joined)
common switch false
(pb) switch true (joined)
Example: Master
-->
boolean MUTE
float VOLUME (or MASTER_GAIN)
float BALANCE (or PAN)
-- alternative:
boolean MUTE
compound [
float VOLUME (left)
float VOLUME (right)	// can order be guaranteed?
]
-------------------------------------------------------
pb channels: L (mono true)
common vol false
pb vol true (joined)
common switch: false
playback switch: true (joined)
Example: Master Mono
-->
float VOLUME
boolean MUTE
------------------------------------------------------
pb channels: L/R (mono false)

Example: Tone