]> git.friedersdorff.com Git - max/dotfiles.git/blob - alsa-hydrogen/.asoundrc
ssh_in launches terminal, sshes into machine
[max/dotfiles.git] / alsa-hydrogen / .asoundrc
1 pcm.!default{
2         type plug
3         slave.pcm "both"
4 }
5
6 ctl.!default {
7              type hw
8              card 0
9 }
10
11
12
13 pcm.both {
14          type route;
15          slave.pcm {
16                    type multi;
17                    slaves.a.pcm "optical"
18                    slaves.b.pcm "analogue"
19                    slaves.a.channels 2;
20                    slaves.b.channels 2;
21                    bindings.0.slave a;
22                    bindings.0.channel 0;
23                    bindings.1.slave a;
24                    bindings.1.channel 1;
25
26                    bindings.2.slave b;
27                    bindings.2.channel 0;
28                    bindings.3.slave b;
29                    bindings.3.channel 1;
30          }
31          ttable.0.0 1;
32          ttable.1.1 1;
33          ttable.0.2 1;
34          ttable.1.3 1;
35 }
36
37 ctl.both {
38          type hw;
39          card 0;
40 }
41
42 pcm.optical {
43         type dmix
44         ipc_key 1024
45         slave {
46               pcm "hw:0,1"
47               period_time 0
48               period_size 1024
49               buffer_size 4096
50         }
51         bindings {
52               0 0
53               1 1
54         }
55 }
56
57 pcm.analogue {
58         type dmix
59         ipc_key 1024
60         slave {
61               pcm "hw:0,0"
62               period_time 0
63               period_size 1024
64               buffer_size 4096
65         }
66         bindings {
67               0 0
68               1 1
69         }
70 }
71
72 ctl.optical {
73         type hw
74         card 0
75 }
76
77 ctl.analogue {
78         type hw
79         card 0
80 }