diff options
author | Maarten Bosmans <mkbosmans@gmail.com> | 2011-03-12 19:45:02 +0100 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2011-03-18 09:20:07 +0000 |
commit | 684b89c639e89cd411dad802c975fc5784951f3b (patch) | |
tree | 430e8a9bbb2008a8d95899b5b2044734861f6db3 /src/utils | |
parent | efcddf68c7d8e7530ea82282c599fabfc34871ea (diff) | |
download | pulseaudio-panda-684b89c639e89cd411dad802c975fc5784951f3b.tar.gz pulseaudio-panda-684b89c639e89cd411dad802c975fc5784951f3b.tar.bz2 pulseaudio-panda-684b89c639e89cd411dad802c975fc5784951f3b.zip |
Fix up some double spaces
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/pactl.c | 2 | ||||
-rw-r--r-- | src/utils/padsp.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/utils/pactl.c b/src/utils/pactl.c index 98c4d455..ad5c0b81 100644 --- a/src/utils/pactl.c +++ b/src/utils/pactl.c @@ -723,7 +723,7 @@ static void stream_write_callback(pa_stream *s, size_t length, void *userdata) { sample_length -= length; - if (sample_length <= 0) { + if (sample_length <= 0) { pa_stream_set_write_callback(sample_stream, NULL, NULL); pa_stream_finish_upload(sample_stream); } diff --git a/src/utils/padsp.c b/src/utils/padsp.c index ec0c46d9..ab9d18a3 100644 --- a/src/utils/padsp.c +++ b/src/utils/padsp.c @@ -282,7 +282,7 @@ static void debug(int level, const char *format, ...) PA_GCC_PRINTF_ATTR(2,3); #define DEBUG_LEVEL_ALWAYS 0 #define DEBUG_LEVEL_NORMAL 1 -#define DEBUG_LEVEL_VERBOSE 2 +#define DEBUG_LEVEL_VERBOSE 2 static void debug(int level, const char *format, ...) { va_list ap; @@ -1596,7 +1596,7 @@ static int mixer_ioctl(fd_info *i, unsigned long request, void*argp, int *_errno *(int*) argp = ((v->values[0]*100/PA_VOLUME_NORM)) | - ((v->values[v->channels > 1 ? 1 : 0]*100/PA_VOLUME_NORM) << 8); + ((v->values[v->channels > 1 ? 1 : 0]*100/PA_VOLUME_NORM) << 8); pa_threaded_mainloop_unlock(i->mainloop); @@ -2077,7 +2077,7 @@ static int dsp_ioctl(fd_info *i, unsigned long request, void*argp, int *_errno) case SNDCTL_DSP_GETCAPS: debug(DEBUG_LEVEL_NORMAL, __FILE__": SNDCTL_DSP_CAPS\n"); - *(int*) argp = DSP_CAP_DUPLEX | DSP_CAP_TRIGGER + *(int*) argp = DSP_CAP_DUPLEX | DSP_CAP_TRIGGER #ifdef DSP_CAP_MULTI | DSP_CAP_MULTI #endif |