mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
examples: fix some typos and indentation errors
This commit is contained in:
parent
50ce87df32
commit
4bd6f5a055
1 changed files with 10 additions and 10 deletions
|
|
@ -327,7 +327,7 @@ static int make_nodes(struct data *data, const char *device)
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* make the sink salve node (alsa-pcm-sink) */
|
/* make the sink slave node (alsa-pcm-sink) */
|
||||||
if ((res = make_node(data, &data->sink_slave_node,
|
if ((res = make_node(data, &data->sink_slave_node,
|
||||||
"build/spa/plugins/alsa/libspa-alsa.so",
|
"build/spa/plugins/alsa/libspa-alsa.so",
|
||||||
SPA_NAME_API_ALSA_PCM_SINK,
|
SPA_NAME_API_ALSA_PCM_SINK,
|
||||||
|
|
@ -350,7 +350,7 @@ static int make_nodes(struct data *data, const char *device)
|
||||||
/* add sink slave node callbacks */
|
/* add sink slave node callbacks */
|
||||||
spa_node_set_callbacks(data->sink_node, &sink_node_callbacks, data);
|
spa_node_set_callbacks(data->sink_node, &sink_node_callbacks, data);
|
||||||
|
|
||||||
/* setup the sink node porps */
|
/* setup the sink node props */
|
||||||
spa_pod_builder_init(&b, buffer, sizeof(buffer));
|
spa_pod_builder_init(&b, buffer, sizeof(buffer));
|
||||||
props = spa_pod_builder_add_object(&b,
|
props = spa_pod_builder_add_object(&b,
|
||||||
SPA_TYPE_OBJECT_Props, 0,
|
SPA_TYPE_OBJECT_Props, 0,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue