mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-11 13:30:02 -05:00
Kill spaces on EOL
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1465 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
e4d63d0d80
commit
1e12e0ee8d
21 changed files with 2721 additions and 2721 deletions
|
|
@ -1033,10 +1033,10 @@ int pa_cli_command_execute_line_stateful(pa_core *c, const char *s, pa_strbuf *b
|
|||
|
||||
if (ifstate && *ifstate == IFSTATE_FALSE)
|
||||
return 0;
|
||||
|
||||
|
||||
|
||||
l = strcspn(cs, whitespace);
|
||||
|
||||
|
||||
for (command = commands; command->name; command++)
|
||||
if (strlen(command->name) == l && !strncmp(cs, command->name, l)) {
|
||||
int ret;
|
||||
|
|
@ -1071,7 +1071,7 @@ int pa_cli_command_execute_file(pa_core *c, const char *fn, pa_strbuf *buf, int
|
|||
FILE *f = NULL;
|
||||
int ifstate = IFSTATE_NONE;
|
||||
int ret = -1;
|
||||
|
||||
|
||||
assert(c);
|
||||
assert(fn);
|
||||
assert(buf);
|
||||
|
|
@ -1103,7 +1103,7 @@ fail:
|
|||
int pa_cli_command_execute(pa_core *c, const char *s, pa_strbuf *buf, int *fail) {
|
||||
const char *p;
|
||||
int ifstate = IFSTATE_NONE;
|
||||
|
||||
|
||||
assert(c);
|
||||
assert(s);
|
||||
assert(buf);
|
||||
|
|
|
|||
|
|
@ -492,7 +492,7 @@ void pa_raise_priority(void) {
|
|||
if ((caps = cap_get_proc())) {
|
||||
cap_t caps_new;
|
||||
cap_value_t nice_cap = CAP_SYS_NICE;
|
||||
|
||||
|
||||
if ((caps_new = cap_dup(caps))) {
|
||||
cap_set_flag(caps_new, CAP_EFFECTIVE, 1, &nice_cap, CAP_SET);
|
||||
cap_set_flag(caps_new, CAP_PERMITTED, 1, &nice_cap, CAP_SET);
|
||||
|
|
@ -501,7 +501,7 @@ void pa_raise_priority(void) {
|
|||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef HAVE_SYS_RESOURCE_H
|
||||
if (setpriority(PRIO_PROCESS, 0, NICE_LEVEL) < 0)
|
||||
pa_log_warn("setpriority(): %s", pa_cstrerror(errno));
|
||||
|
|
|
|||
5062
src/pulsecore/g711.c
5062
src/pulsecore/g711.c
File diff suppressed because it is too large
Load diff
|
|
@ -764,7 +764,7 @@ static void command_create_playback_stream(PA_GCC_UNUSED pa_pdispatch *pd, PA_GC
|
|||
CHECK_VALIDITY(c->pstream, map.channels == ss.channels && volume.channels == ss.channels, tag, PA_ERR_INVALID);
|
||||
CHECK_VALIDITY(c->pstream, maxlength > 0 && maxlength <= MAX_MEMBLOCKQ_LENGTH, tag, PA_ERR_INVALID);
|
||||
CHECK_VALIDITY(c->pstream, maxlength >= pa_frame_size(&ss), tag, PA_ERR_INVALID);
|
||||
|
||||
|
||||
if (sink_index != PA_INVALID_INDEX) {
|
||||
sink = pa_idxset_get_by_index(c->protocol->core->sinks, sink_index);
|
||||
CHECK_VALIDITY(c->pstream, sink, tag, PA_ERR_NOENTITY);
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ pa_memblock *pa_silence_memblock_new(pa_mempool *pool, const pa_sample_spec *spe
|
|||
|
||||
if (length <= 0)
|
||||
length = fs;
|
||||
|
||||
|
||||
return pa_silence_memblock(pa_memblock_new(pool, length), spec);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ pa_thread* pa_thread_new(pa_thread_func_t thread_func, void *userdata) {
|
|||
|
||||
int pa_thread_is_running(pa_thread *t) {
|
||||
assert(t);
|
||||
|
||||
|
||||
/* Unfortunately there is no way to tell whether a "foreign"
|
||||
* thread is still running. See
|
||||
* http://udrepper.livejournal.com/16844.html for more
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue