mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-15 07:00:05 -05:00
formatting
This commit is contained in:
parent
7df3bf48ce
commit
17d6d7b0b1
1 changed files with 14 additions and 13 deletions
|
|
@ -1227,7 +1227,8 @@ static void capture_process(void *d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int apply_props(struct spa_loop *loop, bool async, uint32_t seq, const void *data, size_t size, void *user_data)
|
static int apply_props(struct spa_loop *loop, bool async, uint32_t seq,
|
||||||
|
const void *data, size_t size, void *user_data)
|
||||||
{
|
{
|
||||||
const struct impl *impl = user_data;
|
const struct impl *impl = user_data;
|
||||||
const struct spa_pod *props = data;
|
const struct spa_pod *props = data;
|
||||||
|
|
@ -2134,11 +2135,11 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
||||||
|
|
||||||
if (pw_properties_get(impl->control_props, "enabled") == NULL) {
|
if (pw_properties_get(impl->control_props, "enabled") == NULL) {
|
||||||
impl->control_stream_active = false;
|
impl->control_stream_active = false;
|
||||||
} else if (strcmp(pw_properties_get(impl->control_props, "enabled"), "true")
|
} else if (strcmp(pw_properties_get(
|
||||||
== 0) {
|
impl->control_props, "enabled"), "true") == 0) {
|
||||||
impl->control_stream_active = true;
|
impl->control_stream_active = true;
|
||||||
} else if (strcmp(pw_properties_get(impl->control_props, "enabled"), "false")
|
} else if (strcmp(pw_properties_get(
|
||||||
== 0) {
|
impl->control_props, "enabled"), "false") == 0) {
|
||||||
impl->control_stream_active = false;
|
impl->control_stream_active = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue