mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-13 13:29:58 -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
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue