mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
conf: add and example of how to make a raw alsa device
This commit is contained in:
parent
0ad8f0a6aa
commit
13d655ceb2
1 changed files with 26 additions and 5 deletions
|
|
@ -161,11 +161,32 @@ context.objects = {
|
||||||
# that you can link, to provide audio for this source.
|
# that you can link, to provide audio for this source.
|
||||||
#adapter = {
|
#adapter = {
|
||||||
# args = {
|
# args = {
|
||||||
# factory.name = support.null-audio-sink
|
# factory.name = support.null-audio-sink
|
||||||
# node.name = Microphone
|
# node.name = my-mic
|
||||||
# media.class = Audio/Source/Virtual
|
# node.description = Microphone
|
||||||
# audio.position = "FL,FR"
|
# media.class = Audio/Source/Virtual
|
||||||
# node.name = my-mic
|
# audio.position = "FL,FR"
|
||||||
|
# }
|
||||||
|
#}
|
||||||
|
|
||||||
|
# This creates a single PCM source device for the given
|
||||||
|
# alsa device path hw:0. You can change source to sink
|
||||||
|
# to make a sink in the same way.
|
||||||
|
#adapter = {
|
||||||
|
# args = {
|
||||||
|
# factory.name = api.alsa.pcm.source
|
||||||
|
# node.name = alsa-source
|
||||||
|
# node.description = "PCM Source"
|
||||||
|
# media.class = Audio/Source
|
||||||
|
# api.alsa.path = hw:0
|
||||||
|
# #api.alsa.period-size = 1024
|
||||||
|
# #api.alsa.headroom = 0
|
||||||
|
# #api.alsa.disable-mmap = false
|
||||||
|
# #api.alsa.disable-batch = false
|
||||||
|
# #audio.format = "S16LE
|
||||||
|
# #audio.rate = 48000
|
||||||
|
# #audio.channels = 2
|
||||||
|
# #audio.position = "FL,FR"
|
||||||
# }
|
# }
|
||||||
#}
|
#}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue