mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-24 02:52:47 +07:00
Bump to next branch
Host: Ubuntu 21.04
This commit is contained in:
88
external/packages/bsp/rockchip/asound.conf
vendored
Executable file
88
external/packages/bsp/rockchip/asound.conf
vendored
Executable file
@@ -0,0 +1,88 @@
|
||||
pcm.OnBoard_D0 {
|
||||
|
||||
type hw
|
||||
card OnBoard
|
||||
device 0
|
||||
|
||||
}
|
||||
|
||||
pcm.OnBoard_D1 {
|
||||
|
||||
type hw
|
||||
card OnBoard
|
||||
device 1
|
||||
|
||||
}
|
||||
|
||||
pcm.OnBoard_D2 {
|
||||
|
||||
type hw
|
||||
card OnBoard
|
||||
device 2
|
||||
|
||||
}
|
||||
|
||||
# Configuration to expose the SPDIF device of RK3288 to ALSA.
|
||||
# The device tree must describe a simple-audio-card device named "SPDIF"
|
||||
# for this to work properly
|
||||
# This percolates to PulseAudio, which will eventually show the proper
|
||||
# labels to the audio device
|
||||
|
||||
<confdir:pcm/iec958.conf>
|
||||
|
||||
cards.SPDIF.pcm.iec958.0 {
|
||||
@args [ CARD AES0 AES1 AES2 AES3 ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
@args.AES0 {
|
||||
type integer
|
||||
}
|
||||
@args.AES1 {
|
||||
type integer
|
||||
}
|
||||
@args.AES2 {
|
||||
type integer
|
||||
}
|
||||
@args.AES3 {
|
||||
type integer
|
||||
}
|
||||
type hw
|
||||
card $CARD
|
||||
|
||||
}
|
||||
|
||||
# Configuration to expose the HDMI device of RK3288 to ALSA.
|
||||
# The device tree must describe a simple-audio-card device named "DW-I2S-HDMI"
|
||||
# for this to work properly
|
||||
# This percolates to PulseAudio, which will eventually show the proper
|
||||
# labels to the audio device
|
||||
|
||||
<confdir:pcm/hdmi.conf>
|
||||
|
||||
cards.DW-I2S-HDMI.pcm.hdmi.0 {
|
||||
@args [ CARD DEVICE CTLINDEX AES0 AES1 AES2 AES3 ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
@args.DEVICE {
|
||||
type integer
|
||||
}
|
||||
@args.CTLINDEX {
|
||||
type integer
|
||||
}
|
||||
@args.AES0 {
|
||||
type integer
|
||||
}
|
||||
@args.AES1 {
|
||||
type integer
|
||||
}
|
||||
@args.AES2 {
|
||||
type integer
|
||||
}
|
||||
@args.AES3 {
|
||||
type integer
|
||||
}
|
||||
type hw
|
||||
card $CARD
|
||||
}
|
||||
Reference in New Issue
Block a user