mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
modules: add quotes around hw:0
Because of the : it needs to be surrounded with quotes to be parsed as a string. Fixes #3515
This commit is contained in:
parent
06ba425378
commit
c915f2a6fd
1 changed files with 4 additions and 4 deletions
|
|
@ -39,7 +39,7 @@
|
|||
* ## Module Options
|
||||
*
|
||||
* - `driver.mode`: the driver mode, sink|source|duplex, default duplex
|
||||
* - `ffado.devices`: array of devices to open, default hw:0
|
||||
* - `ffado.devices`: array of devices to open, default "hw:0"
|
||||
* - `ffado.period-size`: period size,default 1024
|
||||
* - `ffado.period-num`: period number,default 3
|
||||
* - `ffado.sample-rate`: sample-rate, default 48000
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
* { name = libpipewire-module-ffado-driver
|
||||
* args = {
|
||||
* #driver.mode = duplex
|
||||
* #ffado.devices = [ hw:0 ]
|
||||
* #ffado.devices = [ "hw:0" ]
|
||||
* #ffado.period-size = 1024
|
||||
* #ffado.period-num = 3
|
||||
* #ffado.sample-rate = 48000
|
||||
|
|
@ -100,7 +100,7 @@ PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
|
|||
|
||||
#define MAX_PORTS 128
|
||||
|
||||
#define DEFAULT_DEVICES "[ hw:0 ]"
|
||||
#define DEFAULT_DEVICES "[ \"hw:0\" ]"
|
||||
#define DEFAULT_PERIOD_SIZE 1024
|
||||
#define DEFAULT_PERIOD_NUM 3
|
||||
#define DEFAULT_SAMPLE_RATE 48000
|
||||
|
|
@ -113,7 +113,7 @@ PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
|
|||
|
||||
#define MODULE_USAGE "( remote.name=<remote> ) " \
|
||||
"( driver.mode=<sink|source|duplex> ) " \
|
||||
"( ffado.devices=<devices array size, default hw:0> ) " \
|
||||
"( ffado.devices=<devices array size, default \"hw:0\"> ) " \
|
||||
"( ffado.period-size=<period size, default 1024> ) " \
|
||||
"( ffado.period-num=<period num, default 3> ) " \
|
||||
"( ffado.sample-rate=<sampe rate, default 48000> ) " \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue