• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Configuration for the FM801 chip
3#
4
5<confdir:pcm/front.conf>
6
7FM801.pcm.front.0 {
8	@args [ CARD ]
9	@args.CARD {
10		type string
11	}
12	type hw
13	card $CARD
14}
15
16# default with dmix/dsnoop
17FM801.pcm.default {
18	@args [ CARD ]
19	@args.CARD {
20		type string
21	}
22	type asym
23	playback.pcm {
24		type plug
25		slave.pcm {
26			@func concat
27			strings [ "dmix:" $CARD ]
28		}
29	}
30	capture.pcm {
31		type plug
32		slave.pcm {
33			@func concat
34			strings [ "dsnoop:" $CARD ]
35		}
36	}
37}
38
39<confdir:pcm/surround40.conf>
40
41FM801.pcm.surround40.0 "cards.FM801.pcm.front.0"
42
43<confdir:pcm/surround21.conf>
44<confdir:pcm/surround41.conf>
45<confdir:pcm/surround50.conf>
46<confdir:pcm/surround51.conf>
47
48FM801.pcm.surround51.0 "cards.FM801.pcm.front.0"
49
50<confdir:pcm/iec958.conf>
51
52FM801.pcm.iec958.0 {
53	@args [ CARD AES0 AES1 AES2 AES3 ]
54	@args.CARD {
55		type string
56	}
57	@args.AES0 {
58		type integer
59	}
60	@args.AES1 {
61		type integer
62	}
63	@args.AES2 {
64		type integer
65	}
66	@args.AES3 {
67		type integer
68	}
69	type hooks
70	slave.pcm {
71		type hw
72		card $CARD
73	}
74	hooks.0 {
75		type ctl_elems
76		hook_args [
77			# {
78			#	name "IEC958 Playback Default"
79			#	value [ $AES0 $AES1 $AES2 $AES3 ]
80			# }
81			{
82				name "IEC958 Raw Data Playback Switch"
83				preserve true
84				value true
85			}
86		]
87	}
88}
89