forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path50-sof.conf
More file actions
84 lines (74 loc) · 1.42 KB
/
50-sof.conf
File metadata and controls
84 lines (74 loc) · 1.42 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Invoke a SOF pipeline and route it to a sound card or another plugin
# To use the PCM 0 on the SOF "volume" topology and route it to hw:1,2 then run
# aplay -Dsof:volume:0,hw,1,2
# tplg:pipe:[pipe:card:dev:config[pipe:card:dev:config]...]
#
# TPLG SOF topology configuration (mandatory)
pcm.sof {
@args [ TPLG ]
@args.TPLG {
type string
default "passthrough"
}
type sof
tplg $TPLG
hint {
show {
@func refer
name defaults.namehint.basic
}
description "SOF Topology and PCM"
}
config.48k2c16b {
rate 48000
channels 2
format S16_LE
period_time 0
period_frames 48
buffer_time 0
buffer_frames 192
}
config.48k8c16b {
rate 48000
channels 8
format S16_LE
period_time 0
period_frames 1024
buffer_time 0
buffer_frames 5120
}
config.8k8c16b {
rate 8000
channels 8
format S16_LE
period_time 0
period_frames 1024
buffer_time 0
buffer_frames 5120
}
config.48k2c32b {
rate 48000
channels 2
format S32_LE
period_time 0
period_frames 6000
buffer_time 0
buffer_frames 24000
}
}
ctl.sof {
@args [ TPLG ]
@args.TPLG {
type string
default "passthrough"
}
type sof
tplg $TPLG
hint {
show {
@func refer
name defaults.namehint.basic
}
description "SOF Topology"
}
}