mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
Fix up some double spaces
This commit is contained in:
parent
efcddf68c7
commit
684b89c639
38 changed files with 75 additions and 76 deletions
|
|
@ -193,7 +193,7 @@ static int parse_device_property(pa_bluetooth_discovery *y, pa_bluetooth_device
|
|||
|
||||
dbus_message_iter_get_basic(i, &key);
|
||||
|
||||
if (!dbus_message_iter_next(i)) {
|
||||
if (!dbus_message_iter_next(i)) {
|
||||
pa_log("Property value missing");
|
||||
return -1;
|
||||
}
|
||||
|
|
@ -323,7 +323,7 @@ static int parse_audio_property(pa_bluetooth_discovery *u, int *state, DBusMessa
|
|||
|
||||
dbus_message_iter_get_basic(i, &key);
|
||||
|
||||
if (!dbus_message_iter_next(i)) {
|
||||
if (!dbus_message_iter_next(i)) {
|
||||
pa_log("Property value missing");
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1395,7 +1395,7 @@ static int a2dp_process_render(struct userdata *u) {
|
|||
break;
|
||||
|
||||
pa_log_error("Failed to write data to socket: %s", pa_cstrerror(errno));
|
||||
ret = -1;
|
||||
ret = -1;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ typedef struct ca_device ca_device;
|
|||
|
||||
struct ca_device {
|
||||
AudioObjectID id;
|
||||
unsigned int module_index;
|
||||
unsigned int module_index;
|
||||
PA_LLIST_FIELDS(ca_device);
|
||||
};
|
||||
|
||||
|
|
@ -162,7 +162,7 @@ scan_removed:
|
|||
}
|
||||
|
||||
if (!found) {
|
||||
pa_log_debug("object id %d has been removed (module index %d) %p", (unsigned int) dev->id, dev->module_index, dev);
|
||||
pa_log_debug("object id %d has been removed (module index %d) %p", (unsigned int) dev->id, dev->module_index, dev);
|
||||
pa_module_unload_request_by_index(m->core, dev->module_index, TRUE);
|
||||
PA_LLIST_REMOVE(ca_device, u->devices, dev);
|
||||
pa_xfree(dev);
|
||||
|
|
|
|||
|
|
@ -1629,7 +1629,7 @@ int pa__get_n_used(pa_module *m) {
|
|||
pa_assert(m);
|
||||
pa_assert_se(u = m->userdata);
|
||||
|
||||
return pa_sink_linked_by(u->sink) + pa_source_linked_by(u->source);
|
||||
return pa_sink_linked_by(u->sink) + pa_source_linked_by(u->source);
|
||||
}
|
||||
|
||||
void pa__done(pa_module*m) {
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ PA_MODULE_LOAD_ONCE(TRUE);
|
|||
PA_MODULE_VERSION(PACKAGE_VERSION);
|
||||
PA_MODULE_USAGE(
|
||||
"sink_name=<name for the sink> "
|
||||
"sink_properties=<properties for the card> "
|
||||
"sink_properties=<properties for the card> "
|
||||
"server_name=<jack server name> "
|
||||
"client_name=<jack client name> "
|
||||
"channels=<number of channels> "
|
||||
|
|
|
|||
|
|
@ -356,7 +356,7 @@ fail:
|
|||
if (ma)
|
||||
pa_modargs_free(ma);
|
||||
|
||||
return -1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
void pa__done(pa_module *m) {
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@ fail:
|
|||
if (ma)
|
||||
pa_modargs_free(ma);
|
||||
|
||||
return -1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
void pa__done(pa_module*m) {
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ fail:
|
|||
if (ma)
|
||||
pa_modargs_free(ma);
|
||||
|
||||
return -1;
|
||||
return -1;
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -698,7 +698,7 @@ static void subscribe_callback(pa_core *c, pa_subscription_event_type_t t, uint3
|
|||
|
||||
pa_strlcpy(entry.icon, pa_strnull(pa_proplist_gets(sink->proplist, PA_PROP_DEVICE_ICON_NAME)), sizeof(entry.icon));
|
||||
|
||||
} else if ((t & PA_SUBSCRIPTION_EVENT_FACILITY_MASK) == PA_SUBSCRIPTION_EVENT_SOURCE) {
|
||||
} else if ((t & PA_SUBSCRIPTION_EVENT_FACILITY_MASK) == PA_SUBSCRIPTION_EVENT_SOURCE) {
|
||||
pa_source *source;
|
||||
|
||||
pa_assert((t & PA_SUBSCRIPTION_EVENT_FACILITY_MASK) == PA_SUBSCRIPTION_EVENT_SOURCE);
|
||||
|
|
@ -1540,7 +1540,7 @@ fail:
|
|||
if (ma)
|
||||
pa_modargs_free(ma);
|
||||
|
||||
return -1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
void pa__done(pa_module*m) {
|
||||
|
|
|
|||
|
|
@ -514,7 +514,7 @@ fail:
|
|||
if (ma)
|
||||
pa_modargs_free(ma);
|
||||
|
||||
return -1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
void pa__done(pa_module*m) {
|
||||
|
|
|
|||
|
|
@ -447,7 +447,7 @@ fail:
|
|||
if (ma)
|
||||
pa_modargs_free(ma);
|
||||
|
||||
return -1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
void pa__done(pa_module*m) {
|
||||
|
|
|
|||
|
|
@ -261,7 +261,7 @@ fail:
|
|||
|
||||
if (ma)
|
||||
pa_modargs_free(ma);
|
||||
return -1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
void pa__done(pa_module*m) {
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ fail:
|
|||
if (ma)
|
||||
pa_modargs_free(ma);
|
||||
|
||||
return -1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
void pa__done(pa_module*m) {
|
||||
|
|
|
|||
|
|
@ -2110,7 +2110,7 @@ fail:
|
|||
if (ma)
|
||||
pa_modargs_free(ma);
|
||||
|
||||
return -1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
#ifdef HAVE_DBUS
|
||||
|
|
|
|||
|
|
@ -393,7 +393,7 @@ static void command_started(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa
|
|||
#endif
|
||||
|
||||
/* Called from IO thread context */
|
||||
static void check_smoother_status(struct userdata *u, pa_bool_t past) {
|
||||
static void check_smoother_status(struct userdata *u, pa_bool_t past) {
|
||||
pa_usec_t x;
|
||||
|
||||
pa_assert(u);
|
||||
|
|
@ -2036,7 +2036,7 @@ fail:
|
|||
|
||||
pa_xfree(dn);
|
||||
|
||||
return -1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
void pa__done(pa_module*m) {
|
||||
|
|
|
|||
|
|
@ -81,5 +81,5 @@ fail:
|
|||
if (ma)
|
||||
pa_modargs_free(ma);
|
||||
|
||||
return -1;
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue