]> code.delx.au - pulseaudio/commitdiff
Whitespace cleanup: Remove all multiple newlines
authorpoljar (Damir Jelić) <poljarinho@gmail.com>
Tue, 18 Jun 2013 20:17:48 +0000 (22:17 +0200)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Mon, 24 Jun 2013 13:56:24 +0000 (16:56 +0300)
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.

69 files changed:
src/daemon/ltdl-bind-now.h
src/modules/alsa/alsa-mixer.c
src/modules/alsa/alsa-sink.c
src/modules/alsa/alsa-source.c
src/modules/alsa/alsa-util.c
src/modules/bluetooth/module-bluetooth-proximity.c
src/modules/echo-cancel/module-echo-cancel.c
src/modules/echo-cancel/speex.c
src/modules/echo-cancel/webrtc.cc
src/modules/jack/module-jackdbus-detect.c
src/modules/module-combine.c
src/modules/module-console-kit.c
src/modules/module-device-manager.c
src/modules/module-device-restore.c
src/modules/module-equalizer-sink.c
src/modules/module-filter-heuristics.c
src/modules/module-ladspa-sink.c
src/modules/module-remap-source.c
src/modules/module-role-cork.c
src/modules/module-rygel-media-server.c
src/modules/module-stream-restore.c
src/modules/module-switch-on-port-available.c
src/modules/module-tunnel.c
src/modules/module-virtual-source.c
src/modules/oss/module-oss.c
src/modules/raop/raop_client.c
src/modules/rtp/rtsp_client.c
src/modules/udev-util.h
src/modules/xen/module-xenpv-sink.c
src/pulse/channelmap.c
src/pulse/context.c
src/pulse/internal.h
src/pulse/introspect.c
src/pulse/mainloop.c
src/pulse/scache.c
src/pulse/stream.c
src/pulsecore/arpa-inet.h
src/pulsecore/cli-command.c
src/pulsecore/cli-text.c
src/pulsecore/database-simple.c
src/pulsecore/device-port.c
src/pulsecore/esound.h
src/pulsecore/fdsem.h
src/pulsecore/memblockq.h
src/pulsecore/object.h
src/pulsecore/poll.h
src/pulsecore/protocol-dbus.h
src/pulsecore/protocol-native.c
src/pulsecore/remap.c
src/pulsecore/shmasyncq.c
src/pulsecore/shmasyncq.h
src/pulsecore/sink-input.c
src/pulsecore/sink-input.h
src/pulsecore/sink.c
src/pulsecore/sndfile-util.c
src/pulsecore/socket-client.c
src/pulsecore/socket-util.c
src/pulsecore/source.c
src/pulsecore/svolume_sse.c
src/pulsecore/time-smoother.c
src/pulsecore/x11prop.c
src/tests/alsa-mixer-path-test.c
src/tests/mix-special-test.c
src/tests/mix-test.c
src/tests/remix-test.c
src/utils/pacmd.c
src/utils/pactl.c
src/utils/pasuspender.c
src/utils/pax11publish.c

index 07600706e4352a5a38934ac2c18da8006136631d..332aad6c9ccc91577213e5a42438cdd32f25c6ce 100644 (file)
@@ -22,7 +22,6 @@
   USA.
 ***/
 
-
 void pa_ltdl_init(void);
 void pa_ltdl_done(void);
 
index 5775d679b6cfc4b9fbebd61ee8a049c16326f860..f4410d74c07c0dcb6c261f1aac76c55eea87c586 100644 (file)
@@ -275,7 +275,6 @@ struct pa_alsa_mixer_pdata {
     snd_mixer_t *mixer;
 };
 
-
 struct pa_alsa_mixer_pdata *pa_alsa_mixer_pdata_new(void) {
     struct pa_alsa_mixer_pdata *pd;
 
@@ -383,8 +382,6 @@ int pa_alsa_set_mixer_rtpoll(struct pa_alsa_mixer_pdata *pd, snd_mixer_t *mixer,
     return 0;
 }
 
-
-
 static const snd_mixer_selem_channel_id_t alsa_channel_ids[PA_CHANNEL_POSITION_MAX] = {
     [PA_CHANNEL_POSITION_MONO] = SND_MIXER_SCHN_MONO, /* The ALSA name is just an alias! */
 
@@ -1768,7 +1765,6 @@ finish:
     return j;
 }
 
-
 static pa_alsa_option* option_get(pa_alsa_path *p, const char *section) {
     char *en;
     const char *on;
@@ -3022,7 +3018,6 @@ void pa_alsa_path_set_dump(pa_alsa_path_set *ps) {
         pa_alsa_path_dump(p);
 }
 
-
 static pa_bool_t options_have_option(pa_alsa_option *options, const char *alsa_name) {
     pa_alsa_option *o;
 
@@ -3785,7 +3780,6 @@ static void mapping_paths_probe(pa_alsa_mapping *m, pa_alsa_profile *profile,
         return;
     }
 
-
     PA_HASHMAP_FOREACH(p, ps->paths, state) {
         if (pa_alsa_path_probe(p, mixer_handle, hctl_handle, m->profile_set->ignore_dB) < 0) {
             pa_hashmap_remove(ps->paths, p);
index dc7146f8cc9824c2e82d1acb23190ca22fa96c2f..aa6cf74d4fed325ca6736307bef05aefe9b53b93 100644 (file)
@@ -580,7 +580,6 @@ static int mmap_write(struct userdata *u, pa_usec_t *sleep_usec, pa_bool_t polle
             break;
         }
 
-
         if (++j > 10) {
 #ifdef DEBUG_TIMING
             pa_log_debug("Not filling up, because already too many iterations.");
@@ -722,7 +721,6 @@ static int unix_write(struct userdata *u, pa_usec_t *sleep_usec, pa_bool_t polle
 
         n_bytes = (size_t) n * u->frame_size;
 
-
 #ifdef DEBUG_TIMING
         pa_log_debug("avail: %lu", (unsigned long) n_bytes);
 #endif
index 77dbb8651d3308db35c75c8f2ba8cd0fa65c08c8..6a53c4b530bde2ad0dcab5178467b2529235a9ca 100644 (file)
@@ -539,7 +539,6 @@ static int mmap_read(struct userdata *u, pa_usec_t *sleep_usec, pa_bool_t polled
             break;
         }
 
-
         if (++j > 10) {
 #ifdef DEBUG_TIMING
             pa_log_debug("Not filling up, because already too many iterations.");
index 8d2286bf8125ea704c53f58dff34a8ce97c0f7aa..168a678846b8b77fb4b89466c85878b1abb6ec12 100644 (file)
@@ -1474,7 +1474,6 @@ snd_hctl_elem_t* pa_alsa_find_eld_ctl(snd_hctl_t *hctl, int device) {
     return snd_hctl_find_elem(hctl, id);
 }
 
-
 static int prepare_mixer(snd_mixer_t *mixer, const char *dev, snd_hctl_t **hctl) {
     int err;
 
index b55dfdb13209d32d485bf33b18848ba8919c5e83..c4e6ca619a705a7d62e38c8bc1069d1b825ce34e 100644 (file)
@@ -346,7 +346,6 @@ static int update_matches(struct userdata *u, bool add) {
     } else
         dbus_bus_remove_match(pa_dbus_connection_get(u->dbus_connection), filter1, NULL);
 
-
     if (add) {
         dbus_bus_add_match(pa_dbus_connection_get(u->dbus_connection), filter2, &e);
 
index b45a40ce7ec5114e8f5bb3b2572bee21e11b5f62..1477d4be621ddc2ad5d4dcb737d5ddb7bbdd3522 100644 (file)
@@ -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;
index cef0aad0f3eb54359114321f7b8454e818f55c67..37ce122a0ec6ab3927be6740df40be650d465b84 100644 (file)
@@ -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,
index 7517d4ad6bbdfb923c2ed9ff0d9d38d68d5df1de..697e0baeff156cdf2be0900312daed4136914249 100644 (file)
@@ -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");
index d8b218afbffad4f8382c303f395040e5e57bb781..cadf4c29a87d1fa2bb70bce7af2e3fbc55767552 100644 (file)
@@ -76,7 +76,6 @@ static const char* const modnames[JACK_SS_COUNT] = {
     "module-jack-source"
 };
 
-
 struct userdata {
     pa_module *module;
     pa_core *core;
@@ -89,7 +88,6 @@ struct userdata {
     int jack_module_index[JACK_SS_COUNT];
 };
 
-
 static void ensure_ports_stopped(struct userdata* u) {
     int i;
     pa_assert(u);
@@ -127,7 +125,6 @@ static void ensure_ports_started(struct userdata* u) {
         }
 }
 
-
 static pa_bool_t check_service_started(struct userdata* u) {
     DBusError error;
     DBusMessage *m = NULL, *reply = NULL;
index 251df494164d16d1581d98c92e661656fd8142b0..d3442359fa4cea6ef6f9d2e15233af3105399958 100644 (file)
@@ -56,7 +56,6 @@ int pa__init(pa_module*m) {
     return module ? 0 : -1;
 }
 
-
 void pa__done(pa_module*m) {
     struct userdata *u;
 
index af1e02b0b0bed6591b108be8d1f2e9247f0717e8..271af2a18ff09ef5218b6f1d1e78523e396f0efb 100644 (file)
@@ -337,7 +337,6 @@ fail:
     return -1;
 }
 
-
 void pa__done(pa_module *m) {
     struct userdata *u;
 
index 5db55506d187645ab06871dc168818ed3eadda10..47c78d41a00d2aeb3500b0ff031c1d4a1bf3d044 100644 (file)
@@ -149,14 +149,12 @@ enum {
     SUBCOMMAND_EVENT
 };
 
-
 /* Forward declarations */
 #ifdef DUMP_DATABASE
 static void dump_database(struct userdata *);
 #endif
 static void notify_subscribers(struct userdata *);
 
-
 static void save_time_callback(pa_mainloop_api*a, pa_time_event* e, const struct timeval *t, void *userdata) {
     struct userdata *u = userdata;
 
@@ -631,7 +629,6 @@ static void update_highest_priority_device_indexes(struct userdata *u, const cha
     }
 }
 
-
 static void route_sink_input(struct userdata *u, pa_sink_input *si) {
     const char *role;
     uint32_t role_index, device_index;
@@ -1003,7 +1000,6 @@ static pa_hook_result_t source_output_new_hook_callback(pa_core *c, pa_source_ou
     return PA_HOOK_OK;
 }
 
-
 static pa_hook_result_t sink_put_hook_callback(pa_core *c, PA_GCC_UNUSED pa_sink *sink, struct userdata *u) {
     pa_assert(c);
     pa_assert(u);
@@ -1058,7 +1054,6 @@ static pa_hook_result_t source_unlink_hook_callback(pa_core *c, pa_source *sourc
     return route_source_outputs(u, source);
 }
 
-
 static void apply_entry(struct userdata *u, const char *name, struct entry *e) {
     uint32_t idx;
     char *n;
@@ -1101,7 +1096,6 @@ static void apply_entry(struct userdata *u, const char *name, struct entry *e) {
     }
 }
 
-
 #define EXT_VERSION 1
 
 static int extension_cb(pa_native_protocol *p, pa_module *m, pa_native_connection *c, uint32_t tag, pa_tagstruct *t) {
@@ -1600,7 +1594,6 @@ int pa__init(pa_module*m) {
         for (uint32_t j = 0; j < i; ++j)
             subscribe_callback(m->core, PA_SUBSCRIPTION_EVENT_SINK|PA_SUBSCRIPTION_EVENT_NEW, p_i[j].index, u);
 
-
         /* We cycle over all the available sources so that they are added to our database if they are not in it yet */
         i = 0;
         PA_IDXSET_FOREACH(source, m->core->sources, idx) {
index 8360a05a415a8efd0d84002c920d6dabb1388ee5..17728307b4e9b69963d734b40774a3b12d5d9130 100644 (file)
@@ -111,7 +111,6 @@ enum {
     SUBCOMMAND_SAVE_FORMATS
 };
 
-
 #define ENTRY_VERSION 1
 
 struct entry {
@@ -173,7 +172,6 @@ static void trigger_save(struct userdata *u, pa_device_type_t type, uint32_t sin
     u->save_time_event = pa_core_rttime_new(u->core, pa_rtclock_now() + SAVE_INTERVAL, save_time_callback, u);
 }
 
-
 #ifdef ENABLE_LEGACY_DATABASE_ENTRY_FORMAT
 /* Some forward declarations */
 static pa_bool_t legacy_entry_read(struct userdata *u, pa_datum *data, struct entry **entry, struct perportentry **perportentry);
@@ -685,7 +683,6 @@ static void subscribe_callback(pa_core *c, pa_subscription_event_type_t t, uint3
         }
     }
 
-
     pa_assert(e);
 
     if (olde) {
@@ -706,7 +703,6 @@ static void subscribe_callback(pa_core *c, pa_subscription_event_type_t t, uint3
         entry_free(e);
     }
 
-
     pa_assert(ppe);
 
     if (oldppe) {
index 505e60b7618961fb21b69d1eac2b6b3c58ca1c2e..59073ce2fc581c4494f1c87162b51e0a29d3ee5f 100644 (file)
@@ -274,7 +274,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 sink_set_state_cb(pa_sink *s, pa_sink_state_t state) {
     struct userdata *u;
@@ -1856,7 +1855,6 @@ void equalizer_handle_seed_filter(DBusConnection *conn, DBusMessage *msg, void *
     pa_aupdate_write_end(u->a_H[r_channel]);
     pa_xfree(ys);
 
-
     pa_dbus_send_empty_reply(conn, msg);
 
     pa_assert_se((message = dbus_message_new_signal(u->dbus_path, EQUALIZER_IFACE, equalizer_signals[EQUALIZER_SIGNAL_FILTER_CHANGED].name)));
index e158b95238d1591e090ee93cecb57eab588ee8e0..17e56030fe2402f6513d66168d90b260f7d2bdb2 100644 (file)
@@ -166,7 +166,6 @@ fail:
 
     return -1;
 
-
 }
 
 void pa__done(pa_module *m) {
index 6a757e4e677c69b31f7b6280490cd0e6e5395ad0..2ffcd8da1db56889e55dc7e99cb364769122bccb 100644 (file)
@@ -944,7 +944,6 @@ static int write_control_parameters(struct userdata *u, double *control_values,
     return 0;
 }
 
-
 int pa__init(pa_module*m) {
     struct userdata *u;
     pa_sample_spec ss;
@@ -1145,7 +1144,6 @@ int pa__init(pa_module*m) {
         }
     }
 
-
     u->block_size = pa_frame_align(pa_mempool_block_size_max(m->core->mempool), &ss);
 
     /* Create buffers */
index c47d9b08dec961c161612782b8818ad8f48425dd..7c350855715db21d01c37cec4e8d1213a933c11e 100644 (file)
@@ -4,7 +4,6 @@
     Copyright 2013 bct electronic GmbH
     Contributor: Stefan Huber <s.huber@bct-electronic.com>
 
-
     PulseAudio is free software; you can redistribute it and/or modify
     it under the terms of the GNU Lesser General Public License as published
     by the Free Software Foundation; either version 2.1 of the License,
index 6e6ea725eb60d75e910534219a59e93086e0f91f..ea71ea6eb0421813159126958f077b78562fa914 100644 (file)
@@ -278,7 +278,6 @@ fail:
 
     return -1;
 
-
 }
 
 void pa__done(pa_module *m) {
index 855d7bbf98af07e1d30908fa74363ff896300c62..4ba106a6485bc91ffd5e4dd026735cc0cf4abc9b 100644 (file)
@@ -160,7 +160,6 @@ PA_MODULE_USAGE("display_name=<UPnP Media Server name>");
     " </interface>"                                                     \
     "</node>"
 
-
 static const char* const valid_modargs[] = {
     "display_name",
     NULL
index 23f4780136900a6fdd6bc9526a82d8af1b192bd6..7b731323a5b96c80fc7bb440503de24f451d3d1e 100644 (file)
@@ -144,7 +144,6 @@ enum {
     SUBCOMMAND_EVENT
 };
 
-
 static struct entry* entry_new(void);
 static void entry_free(struct entry *e);
 static struct entry *entry_read(struct userdata *u, const char *name);
index 8c49db85eb37fc592a3e501bbeaa217164967a58..df6ce97ba8a0904b98643a86dde6d6840e183075 100644 (file)
@@ -286,7 +286,6 @@ static pa_hook_result_t source_new_hook_callback(pa_core *c, pa_source_new_data
     return PA_HOOK_OK;
 }
 
-
 int pa__init(pa_module*m) {
     struct userdata *u;
 
index bc2c0c4ce8097798876629197151aadd10cfd028..7b430fba911940d4bc32d47accf3595b757765f2 100644 (file)
@@ -517,13 +517,11 @@ static int sink_process_msg(pa_msgobject *o, int code, void *data, int64_t offse
 
             return 0;
 
-
         case SINK_MESSAGE_REMOTE_SUSPEND:
 
             stream_suspend_within_thread(u, !!PA_PTR_TO_UINT(data));
             return 0;
 
-
         case SINK_MESSAGE_UPDATE_LATENCY: {
             pa_usec_t y;
 
@@ -1029,7 +1027,6 @@ static int read_ports(struct userdata *u, pa_tagstruct *t) {
     return 0;
 }
 
-
 static int read_formats(struct userdata *u, pa_tagstruct *t) {
     uint8_t n_formats;
     pa_format_info *format;
index 9049534447bba6ca7b3a14376c1fa3c4a3c70302..6720f8b008e9ecb6dba4a0959e83c5627b763948 100644 (file)
@@ -153,7 +153,6 @@ static void sink_update_requested_latency_cb(pa_sink *s) {
 
 }
 
-
 /* Called from I/O thread context */
 static void sink_request_rewind_cb(pa_sink *s) {
     struct userdata *u;
@@ -349,7 +348,6 @@ static void source_output_push_cb(pa_source_output *o, const pa_memchunk *chunk)
         pa_source_post(u->source, chunk);
     }
 
-
 }
 
 /* Called from input thread context */
@@ -467,7 +465,6 @@ static void source_output_moving_cb(pa_source_output *o, pa_source *dest) {
     }
 }
 
-
 int pa__init(pa_module*m) {
     struct userdata *u;
     pa_sample_spec ss;
index fbf0d7ca3096beb8f7f590030e2e21c7eb1057f5..70834697f309c0699921eefd0ab5adbacf1edcb7 100644 (file)
@@ -175,7 +175,6 @@ static int trigger(struct userdata *u, pa_bool_t quick) {
 
     pa_log_debug("trigger: %i", enable_bits);
 
-
     if (u->use_mmap) {
 
         if (!quick)
index b11cafba7047dd80e56533358cb920237c30c5dd..2c2aa19589655fe076c8664c7c720f172efb2557 100644 (file)
@@ -70,7 +70,6 @@
 
 #define RAOP_PORT 5000
 
-
 struct pa_raop_client {
     pa_core *core;
     char *host;
@@ -392,7 +391,6 @@ pa_raop_client* pa_raop_client_new(pa_core *core, const char* host) {
     return c;
 }
 
-
 void pa_raop_client_free(pa_raop_client* c) {
     pa_assert(c);
 
@@ -404,7 +402,6 @@ void pa_raop_client_free(pa_raop_client* c) {
     pa_xfree(c);
 }
 
-
 int pa_raop_connect(pa_raop_client* c) {
     char *sci;
     struct {
@@ -438,7 +435,6 @@ int pa_raop_connect(pa_raop_client* c) {
     return pa_rtsp_connect(c->rtsp);
 }
 
-
 int pa_raop_flush(pa_raop_client* c) {
     pa_assert(c);
 
@@ -446,7 +442,6 @@ int pa_raop_flush(pa_raop_client* c) {
     return 0;
 }
 
-
 int pa_raop_client_set_volume(pa_raop_client* c, pa_volume_t volume) {
     int rv;
     double db;
@@ -468,7 +463,6 @@ int pa_raop_client_set_volume(pa_raop_client* c, pa_volume_t volume) {
     return rv;
 }
 
-
 int pa_raop_client_encode_sample(pa_raop_client* c, pa_memchunk* raw, pa_memchunk* encoded) {
     uint16_t len;
     size_t bufmax;
@@ -550,7 +544,6 @@ int pa_raop_client_encode_sample(pa_raop_client* c, pa_memchunk* raw, pa_memchun
     return 0;
 }
 
-
 void pa_raop_client_set_callback(pa_raop_client* c, pa_raop_client_cb_t callback, void *userdata) {
     pa_assert(c);
 
index 90521fe638148e2bd2854a3a7d7b98dbbfea37aa..50724391d04c8e8881fe9762d3ffa3fcd12ae19b 100644 (file)
@@ -96,7 +96,6 @@ pa_rtsp_client* pa_rtsp_client_new(pa_mainloop_api *mainloop, const char* hostna
     return c;
 }
 
-
 void pa_rtsp_client_free(pa_rtsp_client* c) {
     pa_assert(c);
 
@@ -120,7 +119,6 @@ void pa_rtsp_client_free(pa_rtsp_client* c) {
     pa_xfree(c);
 }
 
-
 static void headers_read(pa_rtsp_client *c) {
     char* token;
     char delimiters[] = ";";
@@ -171,7 +169,6 @@ static void headers_read(pa_rtsp_client *c) {
     c->callback(c, c->state, c->response_headers, c->userdata);
 }
 
-
 static void line_callback(pa_ioline *line, const char *s, void *userdata) {
     char *delimpos;
     char *s2, *s2p;
@@ -278,7 +275,6 @@ static void line_callback(pa_ioline *line, const char *s, void *userdata) {
     pa_xfree(s2);
 }
 
-
 static void on_connection(pa_socket_client *sc, pa_iochannel *io, void *userdata) {
     pa_rtsp_client *c = userdata;
     union {
@@ -359,7 +355,6 @@ void pa_rtsp_disconnect(pa_rtsp_client *c) {
     c->ioline = NULL;
 }
 
-
 const char* pa_rtsp_localip(pa_rtsp_client* c) {
     pa_assert(c);
 
@@ -448,7 +443,6 @@ static int rtsp_exec(pa_rtsp_client* c, const char* cmd,
     return 0;
 }
 
-
 int pa_rtsp_announce(pa_rtsp_client *c, const char* sdp) {
     pa_assert(c);
     if (!sdp)
@@ -458,7 +452,6 @@ int pa_rtsp_announce(pa_rtsp_client *c, const char* sdp) {
     return rtsp_exec(c, "ANNOUNCE", "application/sdp", sdp, 1, NULL);
 }
 
-
 int pa_rtsp_setup(pa_rtsp_client* c) {
     pa_headerlist* headers;
     int rv;
@@ -474,7 +467,6 @@ int pa_rtsp_setup(pa_rtsp_client* c) {
     return rv;
 }
 
-
 int pa_rtsp_record(pa_rtsp_client* c, uint16_t* seq, uint32_t* rtptime) {
     pa_headerlist* headers;
     int rv;
@@ -501,7 +493,6 @@ int pa_rtsp_record(pa_rtsp_client* c, uint16_t* seq, uint32_t* rtptime) {
     return rv;
 }
 
-
 int pa_rtsp_teardown(pa_rtsp_client *c) {
     pa_assert(c);
 
@@ -509,7 +500,6 @@ int pa_rtsp_teardown(pa_rtsp_client *c) {
     return rtsp_exec(c, "TEARDOWN", NULL, NULL, 0, NULL);
 }
 
-
 int pa_rtsp_setparameter(pa_rtsp_client *c, const char* param) {
     pa_assert(c);
     if (!param)
@@ -519,7 +509,6 @@ int pa_rtsp_setparameter(pa_rtsp_client *c, const char* param) {
     return rtsp_exec(c, "SET_PARAMETER", "text/parameters", param, 1, NULL);
 }
 
-
 int pa_rtsp_flush(pa_rtsp_client *c, uint16_t seq, uint32_t rtptime) {
     pa_headerlist* headers;
     int rv;
index a978178fd09151688191fb6a8de2e5d6efd4aa83..251575bbc119135477cecf9c4326f83ec516ef85 100644 (file)
@@ -22,7 +22,6 @@
   USA.
 ***/
 
-
 #include <pulse/proplist.h>
 
 int pa_udev_get_info(int card_idx, pa_proplist *p);
index 66630176d055c51b09b06575fcd8111d161bdbbb..2d4879f971dafd3738680ab732b208c1e705ece2 100644 (file)
@@ -278,11 +278,9 @@ static int sink_process_msg(pa_msgobject *o, int code, void *data, int64_t offse
 static int process_render(struct userdata *u) {
     pa_assert(u);
 
-
     if (u->memchunk.length <= 0)
         pa_sink_render(u->sink, ioring->usable_buffer_space, &u->memchunk);
 
-
     pa_assert(u->memchunk.length > 0);
 
     xc_evtchn_notify(xce, xen_evtchn_port);
@@ -583,7 +581,6 @@ void pa__done(pa_module*m) {
 
 }
 
-
 static int alloc_gref(struct ioctl_gntalloc_alloc_gref *gref_, void **addr) {
     int alloc_fd, dev_fd, rv;
 
@@ -701,7 +698,6 @@ static char* read_param(const char *paramname) {
     return xs_read(xsh, 0, keybuf, &len);
 }
 
-
 static int publish_spec(pa_sample_spec *sample_spec) {
     /* Publish spec and set state to XenbusStateInitWait*/
     int ret;
@@ -713,7 +709,6 @@ static int publish_spec(pa_sample_spec *sample_spec) {
     return ret;
 }
 
-
 static int read_backend_default_spec(pa_sample_spec *sample_spec) {
     /* Read spec from backend */
     char *out;
index 0d199f350e446707f60df64ce1ce3ce34b887a84..f635cc17ebf22440b5581afd45b01acfc938d276 100644 (file)
@@ -392,7 +392,6 @@ pa_channel_map* pa_channel_map_init_auto(pa_channel_map *m, unsigned channels, p
                     return NULL;
             }
 
-
         default:
             pa_assert_not_reached();
     }
index 717641254953a57ab528c1a6e73afdcf6b5b2df9..11dac151b846f28ec3c11d108465fd069c315c6a 100644 (file)
@@ -1368,7 +1368,6 @@ finish:
     pa_context_unref(c);
 }
 
-
 void pa_command_client_event(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t, void *userdata) {
     pa_context *c = userdata;
     pa_proplist *pl = NULL;
@@ -1428,7 +1427,6 @@ void pa_context_rttime_restart(pa_context *c, pa_time_event *e, pa_usec_t usec)
     pa_assert(PA_REFCNT_VALUE(c) >= 1);
     pa_assert(c->mainloop);
 
-
     if (usec == PA_USEC_INVALID)
         c->mainloop->time_restart(e, NULL);
     else {
index e72e28547baeed5da7ad75546d52145f7978d035..dd27f5f0a0544b1f6fabfd53e5796fcc73fe1797 100644 (file)
@@ -275,7 +275,6 @@ pa_tagstruct *pa_tagstruct_command(pa_context *c, uint32_t command, uint32_t *ta
             return -pa_context_set_error((context), (error)); \
     } while(FALSE)
 
-
 #define PA_CHECK_VALIDITY_RETURN_ANY(context, expression, error, value) \
     do {                                                                \
         if (!(expression)) {                                            \
index 9ca3fd367af3ae10c3150dd6046a984439d170c7..704e96eaab2e693edfd24bd9dffb3e12b048eca0 100644 (file)
@@ -1838,7 +1838,6 @@ static void context_index_callback(pa_pdispatch *pd, uint32_t command, uint32_t
         cb(o->context, idx, o->userdata);
     }
 
-
 finish:
     pa_operation_done(o);
     pa_operation_unref(o);
index a3d7715d578ba5b54cd8caa6a0083fb3c1a27801..f1ce076a636f39a7d403d1232e7a7716663588ff 100644 (file)
@@ -568,7 +568,6 @@ static void cleanup_defer_events(pa_mainloop *m, pa_bool_t force) {
     pa_assert(m->defer_events_please_scan == 0);
 }
 
-
 void pa_mainloop_free(pa_mainloop *m) {
     pa_assert(m);
 
index 3fad82a1ff7fbbcc86561ef071ffc78952c762ee..8902642fdc2e0cafa6f0e18da7d29e0517bb4ae6 100644 (file)
@@ -167,7 +167,6 @@ finish:
     pa_operation_unref(o);
 }
 
-
 pa_operation *pa_context_play_sample(pa_context *c, const char *name, const char *dev, pa_volume_t volume, pa_context_success_cb_t cb, void *userdata) {
     pa_operation *o;
     pa_tagstruct *t;
index 508bfa11ef38f1516ed6aea9b7f62097b401928f..811b3c10ee724e1c96f12093feec9e3c53e25f54 100644 (file)
@@ -1215,7 +1215,6 @@ static int create_stream(
                                               PA_STREAM_RELATIVE_VOLUME|
                                               PA_STREAM_PASSTHROUGH)), PA_ERR_INVALID);
 
-
     PA_CHECK_VALIDITY(s->context, s->context->version >= 12 || !(flags & PA_STREAM_VARIABLE_RATE), PA_ERR_NOTSUPPORTED);
     PA_CHECK_VALIDITY(s->context, s->context->version >= 13 || !(flags & PA_STREAM_PEAK_DETECT), PA_ERR_NOTSUPPORTED);
     PA_CHECK_VALIDITY(s->context, s->context->state == PA_CONTEXT_READY, PA_ERR_BADSTATE);
@@ -1816,7 +1815,6 @@ static void stream_get_timing_info_callback(pa_pdispatch *pd, uint32_t command,
                 goto finish;
             }
 
-
         if (!pa_tagstruct_eof(t)) {
             pa_context_fail(o->context, PA_ERR_PROTOCOL);
             goto finish;
@@ -2632,7 +2630,6 @@ finish:
     pa_operation_unref(o);
 }
 
-
 pa_operation* pa_stream_set_buffer_attr(pa_stream *s, const pa_buffer_attr *attr, pa_stream_success_cb_t cb, void *userdata) {
     pa_operation *o;
     pa_tagstruct *t;
@@ -2779,7 +2776,6 @@ finish:
     pa_operation_unref(o);
 }
 
-
 pa_operation *pa_stream_update_sample_rate(pa_stream *s, uint32_t rate, pa_stream_success_cb_t cb, void *userdata) {
     pa_operation *o;
     pa_tagstruct *t;
index 303c905b9a3410214a49b8308b9381f3f999af9c..d940f704f3ec2160f14372ff1b58832d4594d6bc 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef fooarpa_inethfoo
 #define fooarpa_inethfoo
 
-
 #if defined(HAVE_ARPA_INET_H)
 
 #include <arpa/inet.h>
@@ -19,5 +18,4 @@ int inet_pton(int af, const char *src, void *dst);
 
 #endif
 
-
 #endif
index e374694e07593a28423d01fcafa86967d8224317..866cd1610a25a3180073c0163b5e5592c857e98e 100644 (file)
@@ -1282,7 +1282,6 @@ static int pa_cli_command_play_file(pa_core *c, pa_tokenizer *t, pa_strbuf *buf,
         return -1;
     }
 
-
     return pa_play_file(sink, fname, NULL);
 }
 
index 9b31e97d5b5e4f6465a6fc2fb31bf90622cb100c..1cf68d0191eaa929f28d60b6ac6e0fbbd9d61580 100644 (file)
@@ -255,7 +255,6 @@ char *pa_sink_list_to_string(pa_core *c) {
 
         cmn = pa_channel_map_to_pretty_name(&sink->channel_map);
 
-
         pa_strbuf_printf(
             s,
             "  %c index: %u\n"
@@ -470,7 +469,6 @@ char *pa_source_list_to_string(pa_core *c) {
     return pa_strbuf_tostring_free(s);
 }
 
-
 char *pa_source_output_list_to_string(pa_core *c) {
     pa_strbuf *s;
     pa_source_output *o;
@@ -512,7 +510,6 @@ char *pa_source_output_list_to_string(pa_core *c) {
         } else
             volume_str = pa_xstrdup("n/a");
 
-
         pa_strbuf_printf(
             s,
             "    index: %u\n"
index 91c1b4570b9c24dd96d3b4f42bb3bd8b96cc032b..f0dbcdce46d1f2746e8cc514943801cc5639f7a3 100644 (file)
@@ -37,7 +37,6 @@
 
 #include "database.h"
 
-
 typedef struct simple_data {
     char *filename;
     char *tmp_filename;
index 7c1b2ecad3bb39df700f3fa3a6e77858eb5bb6b9..57d0293821949ab837ef3ff556a39c6308773b77 100644 (file)
@@ -105,7 +105,6 @@ static void device_port_free(pa_object *o) {
     pa_xfree(p);
 }
 
-
 pa_device_port *pa_device_port_new(pa_core *c, pa_device_port_new_data *data, size_t extra) {
     pa_device_port *p;
 
index 965f4db7b680e0ac54aeab954b7a827094ac9d95..5d6ec95078124005ebf201be6d581b1523bcdad9 100644 (file)
@@ -24,7 +24,6 @@
 
 /* Most of the following is blatantly stolen from esound. */
 
-
 /* path and name of the default EsounD domain socket */
 #define ESD_UNIX_SOCKET_DIR     "/tmp/.esd"
 #define ESD_UNIX_SOCKET_NAME    "/tmp/.esd/socket"
@@ -51,7 +50,6 @@
 
 #define ESD_VOLUME_BASE (256)
 
-
 /*************************************/
 /* what can we do to/with the EsounD */
 enum esd_proto {
@@ -205,5 +203,4 @@ typedef int esd_client_state_t;
 /* server and the client match; if it's SWAP_ENDIAN_KEY, swap data */
 #define ESD_SWAP_ENDIAN_KEY (PA_UINT32_SWAP(ESD_ENDIAN_KEY))
 
-
 #endif
index 90e8599a9ccc5ba56b224b18c18afffa43a7e293..a434ac3be3eae3730078690e87d1252d8f1c0831 100644 (file)
@@ -50,5 +50,4 @@ int pa_fdsem_get(pa_fdsem *f);
 int pa_fdsem_before_poll(pa_fdsem *f);
 int pa_fdsem_after_poll(pa_fdsem *f);
 
-
 #endif
index 88906ba4a6358c5bbd2a0d0c71b296470db411ef..a81ab85bd92433ce275ac0f2c44715f1a6933baf 100644 (file)
@@ -37,7 +37,6 @@
 
 typedef struct pa_memblockq pa_memblockq;
 
-
 /* Parameters:
 
    - name:      name for debugging purposes
index 8be429ee48a5512f55f611e96be4417b2901c708..c60577140872f3d9459fcfe920940941fb515688 100644 (file)
@@ -116,5 +116,4 @@ static inline pa_object* pa_object_cast(void *o) {
     }                                                                   \
     struct __stupid_useless_struct_to_allow_trailing_semicolon
 
-
 #endif
index dc741e5e8a22551e3ba0e578e860fee1cfaf9dda..8905dd209ed8f06182deb0f596fb49fbd07a98b0 100644 (file)
@@ -49,7 +49,6 @@ struct pollfd {
     short int revents;          /* Types of events that actually occurred.  */
 };
 
-
 /* Poll the file descriptors described by the NFDS structures starting at
    FDS.  If TIMEOUT is nonzero and not -1, allow TIMEOUT milliseconds for
    an event to occur; if TIMEOUT is -1, block until an event occurs.
index 899993379191eb7e62f73a011a9584cee3efb2c4..aac7423c4cd59a8c50bc39005d1686adf523f4de 100644 (file)
@@ -110,7 +110,6 @@ typedef struct pa_dbus_interface_info {
     unsigned n_signals;
 } pa_dbus_interface_info;
 
-
 /* The following functions may only be called from the main thread. */
 
 /* Registers the given interface to the given object path. It doesn't matter
index 2f0a99021d320a8af3d01afcce25fe83829b961f..1fa2b382ee29d0b98ab0cc1e2b5c9bb4ace59547 100644 (file)
@@ -1589,7 +1589,6 @@ static int sink_input_process_msg(pa_msgobject *o, int code, void *userdata, int
     return pa_sink_input_process_msg(o, code, userdata, offset, chunk);
 }
 
-
 static bool handle_input_underrun(playback_stream *s, bool force) {
     bool send_drain;
 
@@ -1625,7 +1624,6 @@ static bool sink_input_process_underrun_cb(pa_sink_input *i) {
     return handle_input_underrun(s, true);
 }
 
-
 /* Called from thread context */
 static int sink_input_pop_cb(pa_sink_input *i, size_t nbytes, pa_memchunk *chunk) {
     playback_stream *s;
@@ -2455,7 +2453,6 @@ static void command_create_record_stream(pa_pdispatch *pd, uint32_t command, uin
         }
     }
 
-
     if (!pa_tagstruct_eof(t)) {
         protocol_error(c);
         goto finish;
index 5d0cd62cf8d9603f50514ff49dc7a901b394e17f..8585e341d3aefa75c3d2f276d793440280fa8180 100644 (file)
@@ -178,7 +178,6 @@ static void init_remap_c(pa_remap_t *m) {
     }
 }
 
-
 /* default C implementation */
 static pa_init_remap_func_t remap_func = init_remap_c;
 
index eac56adb3f2fd5b1df6e741e5d08c1ab115373bf..e6599a9956d5e47929785bd4a0bba6c0711970ad 100644 (file)
@@ -46,7 +46,6 @@
 #define _Y do { } while(0)
 #endif
 
-
 struct pa_shmasyncq {
     pa_fdsem *read_fdsem, *write_fdsem;
     pa_shmasyncq_data *data;
index 4212055e607ab0a81b7eb8414bf224edac051ed2..67ce6071e03a5bded4e7622fd5b081c90f59d136 100644 (file)
@@ -28,7 +28,6 @@
 
 /* Similar to pa_asyncq, but stores data in a shared memory segment */
 
-
 struct pa_shmasyncq_data {
     unsigned n_elements;
     size_t element_size;
index 8666c6050e81dfa1ba693715a0fed4d866185c71..2cc0738d8e2e8839e4781690aa7c39d2da2b820b 100644 (file)
@@ -1063,7 +1063,6 @@ bool pa_sink_input_process_underrun(pa_sink_input *i) {
     return false;
 }
 
-
 /* Called from thread context */
 void pa_sink_input_process_rewind(pa_sink_input *i, size_t nbytes /* in sink sample spec */) {
     size_t lbq;
index 47bdaed30511cf7c24fe5b89b7c3a743f9d8af09..fcd1545198ecf66965f96be7d6e44bd4bafde4e9 100644 (file)
@@ -415,7 +415,6 @@ pa_usec_t pa_sink_input_set_requested_latency_within_thread(pa_sink_input *i, pa
 pa_bool_t pa_sink_input_safe_to_remove(pa_sink_input *i);
 bool pa_sink_input_process_underrun(pa_sink_input *i);
 
-
 pa_memchunk* pa_sink_input_get_silence(pa_sink_input *i, pa_memchunk *ret);
 
 #define pa_sink_input_assert_io_context(s) \
index a2376690dd0ff70dcd136845ec9974fe4add8a97..cf3a90eb3d04f03a080cb203e4254248c7c18f4d 100644 (file)
@@ -148,7 +148,6 @@ void pa_sink_new_data_done(pa_sink_new_data *data) {
     pa_xfree(data->active_port);
 }
 
-
 /* Called from main context */
 static void reset_callbacks(pa_sink *s) {
     pa_assert(s);
index 365c9b6d7ba4947b9346a76a55f609ccacd151a0..0820ee4bfaca6e47264a5968db10519689c18ed2 100644 (file)
@@ -144,7 +144,6 @@ int pa_sndfile_write_sample_spec(SF_INFO *sfi, pa_sample_spec *ss) {
             break;
     }
 
-
     if (!pa_sample_spec_valid(ss))
         return -1;
 
@@ -418,7 +417,6 @@ pa_sndfile_writef_t pa_sndfile_writef_function(const pa_sample_spec *ss) {
 int pa_sndfile_format_from_string(const char *name) {
     int i, count = 0;
 
-
     if (!name[0])
         return -1;
 
index 23d5d880cf9f2b60387a280abcb8f036110ca05f..a12757a8d6c7e6c1f082fb3ec3e93afcad4ce6fc 100644 (file)
@@ -226,7 +226,6 @@ pa_socket_client* pa_socket_client_new_ipv4(pa_mainloop_api *m, uint32_t address
     return pa_socket_client_new_sockaddr(m, (struct sockaddr*) &sa, sizeof(sa));
 }
 
-
 pa_socket_client* pa_socket_client_new_unix(pa_mainloop_api *m, const char *filename) {
 #ifdef HAVE_SYS_UN_H
     struct sockaddr_un sa;
index 2b8d463456e1b3dc832a69664491df1e99e3a8e7..68119d179ed4ec98456de57d1ef047ecb7b28525 100644 (file)
@@ -280,7 +280,6 @@ int pa_unix_socket_remove_stale(const char *fn) {
 
 #endif /* HAVE_SYS_UN_H */
 
-
 pa_bool_t pa_socket_address_is_local(const struct sockaddr *sa) {
     pa_assert(sa);
 
index cba518bb1ec270a08b5f18738588594556faf8d8..98a8bcc3d616f052a7d9ffc3dcf53b54eee02041 100644 (file)
@@ -2779,7 +2779,6 @@ pa_bool_t pa_source_volume_change_apply(pa_source *s, pa_usec_t *usec_to_next) {
     return ret;
 }
 
-
 /* Called from the main thread */
 /* Gets the list of formats supported by the source. The members and idxset must
  * be freed by the caller. */
index daa87ca3e994d863c20edb8cdc5f48ff4a8ca4c1..9979087b4710068beeab48d6442df79c24e3f387 100644 (file)
@@ -73,7 +73,6 @@
       " por %%xmm4, "#s1"            \n\t" /* .. |  l  h |  */ \
       " por %%xmm5, "#s2"            \n\t"
 
-
 static int channel_overread_table[8] = {8,8,8,12,8,10,12,14};
 
 static void pa_volume_s16ne_sse2(int16_t *samples, const int32_t *volumes, unsigned channels, unsigned length) {
index 7a61a75cb2349c775b6163cc157169e8d75e7a0c..9b4a9505dc77a00d9fc7b7eaa05f39845b5551a5 100644 (file)
@@ -134,7 +134,6 @@ void pa_smoother_free(pa_smoother* s) {
         x = ((x)+1) % HISTORY_MAX;              \
     } while(FALSE)
 
-
 static void drop_old(pa_smoother *s, pa_usec_t x) {
 
     /* Drop items from history which are too old, but make sure to
index baf5b01850c6f8f1752373c840e554bcf7b02e8c..0fa30a3ffe78a2c085d4cb6c161f673985082ed0 100644 (file)
@@ -100,7 +100,6 @@ char* pa_x11_get_prop(xcb_connection_t *xcb, int screen, const char *name, char
     pa_assert(name);
     pa_assert(p);
 
-
     xs = screen_of_display(xcb, screen);
     /*
      * Also try and get the settings from the first screen.
index f2bc4cbf310184061a3956f07f3a9b6d3285f8ca..ac92d78b2910f2a5b4afc019ec9f7889f43ca2d9 100644 (file)
@@ -53,7 +53,6 @@ static pa_strlist *load_makefile() {
     return result;
 }
 
-
 START_TEST (mixer_path_test) {
     DIR *dir;
     struct dirent *ent;
index df86ccbb900e3ab99198a4f1c9324a707c6d8d3b..3d36116a5bfb7e5a42551ca0f2dfcb69d9da916e 100644 (file)
@@ -194,7 +194,6 @@ static void pa_mix_generic_s16ne(pa_mix_info streams[], unsigned nstreams, unsig
     }
 }
 
-
 #define SAMPLES 1028
 #define TIMES 1000
 #define TIMES2 100
index 4980dd0bbe08b8cfac7dce9c432b049d4a51b9e6..e2ef4906568eb877a95799818adb53cf21ede010 100644 (file)
@@ -35,7 +35,6 @@
 #include <pulsecore/sample-util.h>
 #include <pulsecore/mix.h>
 
-
 /* PA_SAMPLE_U8 */
 static const uint8_t u8_result[3][10] = {
 { 0x00, 0xff, 0x7f, 0x80, 0x9f, 0x3f, 0x01, 0xf0, 0x20, 0x21 },
index 19f5582b9c141c493467523dc8e3c0030dd5d9fa..9d169bea2e8c41924498fa04362919be97625a06 100644 (file)
@@ -76,7 +76,6 @@ int main(int argc, char *argv[]) {
             pa_resampler_free(r);
         }
 
-
     pa_mempool_free(pool);
 
     return 0;
index dc477aae81d1231ab7c3d9c2d44938f559319264..352a9d855f9af1f716327bf48db81e79587aede4 100644 (file)
@@ -168,7 +168,6 @@ int main(int argc, char*argv[]) {
             goto quit;
         }
 
-
         if (r >= 0)
             break;
 
index f52e37c60d1947ad7c4abbdd098b108a13afc731..b3dca78142512d168982af112d39450fd4baff4c 100644 (file)
@@ -715,7 +715,6 @@ static void get_source_output_info_callback(pa_context *c, const pa_source_outpu
         printf("\n");
     nl = TRUE;
 
-
     pa_snprintf(t, sizeof(t), "%u", i->owner_module);
     pa_snprintf(k, sizeof(k), "%u", i->client);
 
index 0da570e1ea98ef76c6b1a0d4c833ccc2b5da0e2d..5ede7f4c16ddbc313d8527ede9a4337f0b90b5e1 100644 (file)
@@ -59,7 +59,6 @@ static void quit(int ret) {
     mainloop_api->quit(mainloop_api, ret);
 }
 
-
 static void context_drain_complete(pa_context *c, void *userdata) {
     pa_context_disconnect(c);
 }
index 16cf8666cc1013eff73865ac13b7543e73213fd0..c5e6cfbb519af9cd02a210abd5c93e50ae6da0ee 100644 (file)
@@ -40,7 +40,6 @@
 #include <pulsecore/native-common.h>
 #include <pulsecore/x11prop.h>
 
-
 int main(int argc, char *argv[]) {
     const char *dname = NULL, *sink = NULL, *source = NULL, *server = NULL, *cookie_file = PA_NATIVE_COOKIE_FILE;
     int c, ret = 1, screen = 0;