~mil/sxmo-utils

ref: f058e173695853bf9c2bab071c94612fb249bad3 sxmo-utils/configs/alsa_sxmo_enable_dmix.conf -rw-r--r-- 613 bytes
f058e173Miles Alan SIGKILL on close menu in dialer 2 years ago
                                                                                
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
35
36
37
38
39
40
41
42
43
# Setup Dmix
pcm.!default {
        type plug
        slave.pcm "duplex"
}

pcm.duplex {
        type asym
        playback.pcm "dmixer"
        capture.pcm "dsnoop"
}


pcm.dsnooped {
    type dsnoop
    slave {
        pcm "hw:0,0"
        channels 1
    }
}



pcm.dmixer  {
        type dmix
        ipc_key 1024
        slave {
                pcm "hw:0,0"
                period_time 0
                period_size 1024
                buffer_size 4096
                rate 44100
        }
        bindings {
                0 0
                1 1
        }
}

ctl.dmixer {
        type hw
        card 0
}