mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-22 08:56:52 -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
|
|
@ -740,8 +740,7 @@ int pa_source_update_status(pa_source*s) {
|
|||
}
|
||||
|
||||
/* Called from any context - must be threadsafe */
|
||||
void pa_source_set_mixer_dirty(pa_source *s, pa_bool_t is_dirty)
|
||||
{
|
||||
void pa_source_set_mixer_dirty(pa_source *s, pa_bool_t is_dirty) {
|
||||
pa_atomic_store(&s->mixer_dirty, is_dirty ? 1 : 0);
|
||||
}
|
||||
|
||||
|
|
@ -968,8 +967,7 @@ void pa_source_post_direct(pa_source*s, pa_source_output *o, const pa_memchunk *
|
|||
}
|
||||
|
||||
/* Called from main thread */
|
||||
pa_bool_t pa_source_update_rate(pa_source *s, uint32_t rate, pa_bool_t passthrough)
|
||||
{
|
||||
pa_bool_t pa_source_update_rate(pa_source *s, uint32_t rate, pa_bool_t passthrough) {
|
||||
pa_bool_t ret = FALSE;
|
||||
|
||||
if (s->update_rate) {
|
||||
|
|
@ -2807,8 +2805,7 @@ pa_idxset* pa_source_get_formats(pa_source *s) {
|
|||
|
||||
/* Called from the main thread */
|
||||
/* Checks if the source can accept this format */
|
||||
pa_bool_t pa_source_check_format(pa_source *s, pa_format_info *f)
|
||||
{
|
||||
pa_bool_t pa_source_check_format(pa_source *s, pa_format_info *f) {
|
||||
pa_idxset *formats = NULL;
|
||||
pa_bool_t ret = FALSE;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue