Debian Codegraph @

a52/60-a52-encoder.conf

raw symbols SCIP
1 pcm.a52 {
2 @args [ CARD SLAVE RATE BITRATE CHANNELS ]
3 @args.CARD {
4 type integer
5 default {
6 @func refer
7 name defaults.pcm.card
8 }
9 }
10 @args.SLAVE {
11 type string
12 }
13 @args.RATE {
14 type integer
15 default 48000
16 }
17 @args.BITRATE {
18 type integer
19 default 448
20 }
21 @args.CHANNELS {
22 type string
23 default 6
24 }
25 type a52
26 card $CARD
27 slavepcm $SLAVE
28 rate $RATE
29 bitrate $BITRATE
30 channels $CHANNELS
31 hint {
32 show {
33 @func refer
34 name defaults.namehint.basic
35 }
36 description "Plugin to convert multichannel stream to A52 (AC3) bitstream"
37 }
38 }
39
40 #
41 # A quick test command:
42 # CARD=1 # replace with your IEC958 card
43 # DEVICE=1 # replace with your IEC958 PCM device number
44 # speaker-test -d -b 2000000 -c 6 -D"plug:{SLAVE=\"a52:${CARD},'hw:${CARD},${DEVICE}'\"}"
45 #