PageRenderTime 12ms CodeModel.GetById 6ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/packages/audio/alsa/config/asound.conf.sample/asound.conf_double-xs35gt.sample

http://github.com/OpenELEC/OpenELEC.tv
Unknown | 58 lines | 52 code | 6 blank | 0 comment | 0 complexity | 50b3beea575106bbd842ea192597e5e2 MD5 | raw file
 1# asound.conf for Shuttle XS35GT
 2# http://forum.xbmc.org/showpost.php?p=635394&postcount=330
 3# in XBMC, set "audio output device" to custom
 4# insert "pcm.both" into the text box
 5
 6pcm.!default {
 7	type plug
 8	slave {
 9		pcm both
10	}
11}
12
13pcm.both {
14	type route
15	slave {
16		pcm multi
17		channels 4
18	}
19	ttable.0.0 1.0
20	ttable.1.1 1.0
21	ttable.0.2 1.0
22	ttable.1.3 1.0
23}
24
25pcm.multi {
26	type multi
27	slaves.a {
28		pcm tv
29		channels 2
30	}
31	slaves.b {
32		pcm receiver
33		channels 2
34	}
35	bindings.0.slave a
36	bindings.0.channel 0
37	bindings.1.slave a
38	bindings.1.channel 1
39	bindings.2.slave b
40	bindings.2.channel 0
41	bindings.3.slave b
42	bindings.3.channel 1
43}
44
45pcm.receiver {
46	type hw
47	card 0
48	device 0
49	channels 2
50}
51
52pcm.tv {
53	type hw
54	card 1
55	device 7
56	channels 2
57}
58