CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
orangepi-xunlong

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: orangepi-xunlong/orangepi-build
Path: blob/next/external/packages/bsp/rockchip/asound.conf
Views: 3960
1
pcm.OnBoard_D0 {
2
3
type hw
4
card OnBoard
5
device 0
6
7
}
8
9
pcm.OnBoard_D1 {
10
11
type hw
12
card OnBoard
13
device 1
14
15
}
16
17
pcm.OnBoard_D2 {
18
19
type hw
20
card OnBoard
21
device 2
22
23
}
24
25
# Configuration to expose the SPDIF device of RK3288 to ALSA.
26
# The device tree must describe a simple-audio-card device named "SPDIF"
27
# for this to work properly
28
# This percolates to PulseAudio, which will eventually show the proper
29
# labels to the audio device
30
31
<confdir:pcm/iec958.conf>
32
33
cards.SPDIF.pcm.iec958.0 {
34
@args [ CARD AES0 AES1 AES2 AES3 ]
35
@args.CARD {
36
type string
37
}
38
@args.AES0 {
39
type integer
40
}
41
@args.AES1 {
42
type integer
43
}
44
@args.AES2 {
45
type integer
46
}
47
@args.AES3 {
48
type integer
49
}
50
type hw
51
card $CARD
52
53
}
54
55
# Configuration to expose the HDMI device of RK3288 to ALSA.
56
# The device tree must describe a simple-audio-card device named "DW-I2S-HDMI"
57
# for this to work properly
58
# This percolates to PulseAudio, which will eventually show the proper
59
# labels to the audio device
60
61
<confdir:pcm/hdmi.conf>
62
63
cards.DW-I2S-HDMI.pcm.hdmi.0 {
64
@args [ CARD DEVICE CTLINDEX AES0 AES1 AES2 AES3 ]
65
@args.CARD {
66
type string
67
}
68
@args.DEVICE {
69
type integer
70
}
71
@args.CTLINDEX {
72
type integer
73
}
74
@args.AES0 {
75
type integer
76
}
77
@args.AES1 {
78
type integer
79
}
80
@args.AES2 {
81
type integer
82
}
83
@args.AES3 {
84
type integer
85
}
86
type hw
87
card $CARD
88
}
89
90