mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-21 08:56:46 -05:00
Style fix: Remove new lines from opening brackets
This patch replaces every occurrence of ')\n{' with ') {'.
Command used for this:
find . -type d \( -name ffmpeg \) -prune -o \
-regex '\(.*\.[hc]\|.*\.cc\)' \
-a -not -name core-util.c -a -not \
-name adrian-aec.c -a -not -name g711.c \
-exec sed -i -e '/)$/{N;s/)\n{$/) {/}' {} \;
The excluded files are mirrored files from external sources.
This commit is contained in:
parent
cbd274676d
commit
e95d054e40
25 changed files with 40 additions and 80 deletions
|
|
@ -129,8 +129,7 @@ static int try_to_switch_profile(pa_device_port *port) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void find_sink_and_source(pa_card *card, pa_device_port *port, pa_sink **si, pa_source **so)
|
||||
{
|
||||
static void find_sink_and_source(pa_card *card, pa_device_port *port, pa_sink **si, pa_source **so) {
|
||||
pa_sink *sink = NULL;
|
||||
pa_source *source = NULL;
|
||||
uint32_t state;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue