diff --git a/modules/module-pipewire/simple-endpoint.c b/modules/module-pipewire/simple-endpoint.c index 12d1e4e5b84d41ee92be9048cfd3eeaf0e9f7b79..e971e8965a9ef3cc008c7a8ce05f82889ccaa284 100644 --- a/modules/module-pipewire/simple-endpoint.c +++ b/modules/module-pipewire/simple-endpoint.c @@ -28,7 +28,7 @@ struct _WpPipewireSimpleEndpoint struct pw_node_proxy *node; struct spa_hook proxy_listener; struct spa_hook node_proxy_listener; - + /* Info */ struct pw_node_info *info; diff --git a/modules/module-pw-alsa-udev.c b/modules/module-pw-alsa-udev.c index 8e35aa7592d28c8b24b9b9099b680b51c6a14ee7..023ee084d954c55b7cc534976ec91c66b397d005 100644 --- a/modules/module-pw-alsa-udev.c +++ b/modules/module-pw-alsa-udev.c @@ -79,7 +79,7 @@ static void done_data_destroy(gpointer p) { static void sync_core_with_callabck(struct impl* impl, WpDoneCallback callback, gpointer data, GDestroyNotify data_destroy) { struct done_data *dd = g_new0(struct done_data, 1); - + /* Set the data */ dd->callback = callback; dd->data = data; @@ -139,7 +139,7 @@ static void enum_format_and_create_endpoint(gpointer p) { if (port->parent_id == ei->id) break; } - + /* Emit the port EnumFormat */ pw_port_proxy_enum_params((struct pw_port_proxy*)port->proxy, 0, SPA_PARAM_EnumFormat, 0, -1, NULL); @@ -233,7 +233,7 @@ handle_port(struct impl *impl, uint32_t id, uint32_t parent_id, struct pw_proxy *proxy; WpPort *port; const char *direction_prop; - + /* Make sure the port has porperties */ if (!props) return; diff --git a/modules/module-pw-audio-softdsp-endpoint.c b/modules/module-pw-audio-softdsp-endpoint.c index 19d469b7d8a2f261bca086dfb7d1a4f21bbe15d6..6d9716d825fb32714427de7bf192428b95122d71 100644 --- a/modules/module-pw-audio-softdsp-endpoint.c +++ b/modules/module-pw-audio-softdsp-endpoint.c @@ -24,7 +24,7 @@ struct _WpPwAudioSoftdspEndpoint { WpEndpoint parent; - + /* The core proxy */ struct pw_core_proxy *core_proxy; @@ -43,7 +43,7 @@ struct _WpPwAudioSoftdspEndpoint { /* DSP proxy and listener */ struct pw_proxy *dsp_proxy; struct spa_hook dsp_listener; - + /* DSP info */ struct pw_node_info *dsp_info; @@ -102,7 +102,7 @@ endpoint_prepare_link (WpEndpoint * ep, guint32 stream_id, } if (!node_port) return FALSE; - + /* Find the first dsp port with the same direction as the node port */ spa_list_for_each(port, self->port_list, l) { if (self->dsp_info->id == port->parent_id @@ -175,7 +175,7 @@ static void dsp_node_event_info(void *data, const struct pw_node_info *info) /* Set dsp info */ self->dsp_info = pw_node_info_update(self->dsp_info, info); - + /* Handle the different states */ switch (info->state) { case PW_NODE_STATE_IDLE: @@ -202,11 +202,11 @@ static void emit_audio_dsp_node(WpPwAudioSoftdspEndpoint *self) uint8_t buf[1024]; struct spa_pod_builder pod_builder = { 0, }; struct spa_pod *param; - + /* Return if the node has been already emitted */ if (self->dsp_proxy) return; - + /* Get the properties */ props = pw_properties_new_dict(self->node_info->props); if (!props) @@ -237,8 +237,8 @@ static void emit_audio_dsp_node(WpPwAudioSoftdspEndpoint *self) SPA_PARAM_PROFILE_format, SPA_POD_Pod(param)); pw_node_proxy_set_param((struct pw_node_proxy*)self->dsp_proxy, SPA_PARAM_Profile, 0, param); - - /* Clean up */ + + /* Clean up */ pw_properties_free(props); }