mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
Whitespace cleanup: Remove all multiple newlines
This patch removes all occurrences of double and triple
newlines.
Command used for this:
find . -type d \( -name ffmpeg \) -prune -o \
-regex '\(.*\.[hc]\|.*\.cc\)' \
-a -not -name 'adrian-aec.*' -a -not \
-name reserve.c -a -not -name 'rtkit.*' \
-exec sed -i -e '/^$/{N;s/^\n$//}' {} \;
Two passes were needed to remove triple newlines.
The excluded files are mirrored files from external sources.
This commit is contained in:
parent
e95d054e40
commit
97da92d894
69 changed files with 0 additions and 125 deletions
|
|
@ -462,7 +462,6 @@ static int sink_process_msg_cb(pa_msgobject *o, int code, void *data, int64_t of
|
|||
return pa_sink_process_msg(o, code, data, offset, chunk);
|
||||
}
|
||||
|
||||
|
||||
/* Called from main context */
|
||||
static int source_set_state_cb(pa_source *s, pa_source_state_t state) {
|
||||
struct userdata *u;
|
||||
|
|
@ -1301,7 +1300,6 @@ static void sink_input_attach_cb(pa_sink_input *i) {
|
|||
pa_sink_attach_within_thread(u->sink);
|
||||
}
|
||||
|
||||
|
||||
/* Called from source I/O thread context. */
|
||||
static void source_output_detach_cb(pa_source_output *o) {
|
||||
struct userdata *u;
|
||||
|
|
|
|||
|
|
@ -146,7 +146,6 @@ fail:
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
pa_bool_t pa_speex_ec_init(pa_core *c, pa_echo_canceller *ec,
|
||||
pa_sample_spec *rec_ss, pa_channel_map *rec_map,
|
||||
pa_sample_spec *play_ss, pa_channel_map *play_map,
|
||||
|
|
|
|||
|
|
@ -91,7 +91,6 @@ pa_bool_t pa_webrtc_ec_init(pa_core *c, pa_echo_canceller *ec,
|
|||
goto fail;
|
||||
}
|
||||
|
||||
|
||||
hpf = DEFAULT_HIGH_PASS_FILTER;
|
||||
if (pa_modargs_get_value_boolean(ma, "high_pass_filter", &hpf) < 0) {
|
||||
pa_log("Failed to parse high_pass_filter value");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue