diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:26:13 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:34:35 +0300 |
commit | 0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch) | |
tree | 71cb9bd9ed121156d3382066c0722c73189afe04 /libaf/af_ladspa.c | |
parent | 6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff) | |
download | mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2 mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz |
Remove trailing whitespace from most files
Diffstat (limited to 'libaf/af_ladspa.c')
-rw-r--r-- | libaf/af_ladspa.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libaf/af_ladspa.c b/libaf/af_ladspa.c index 547dd6816e..78a9be26d1 100644 --- a/libaf/af_ladspa.c +++ b/libaf/af_ladspa.c @@ -212,7 +212,7 @@ static int af_ladspa_parse_plugin(af_ladspa_t *setup) { } if (setup->ninputs == 0) { - mp_msg(MSGT_AFILTER, MSGL_WARN, "%s: %s\n", setup->myname, + mp_msg(MSGT_AFILTER, MSGL_WARN, "%s: %s\n", setup->myname, _("WARNING! This LADSPA plugin has no audio inputs.\n The incoming audio signal will be lost.")); } else if (setup->ninputs == 1) { mp_msg(MSGT_AFILTER, MSGL_V, "%s: this is a mono effect\n", setup->myname); @@ -281,7 +281,7 @@ static int af_ladspa_parse_plugin(af_ladspa_t *setup) { * filename (with or without the addition of the .so extension) in various * directories specified by the LADSPA_PATH environment variable. If all fails * it tries the filename directly as an absolute path to the library. - * + * * \param filename filename of the library to load. * \param flag see dlopen(3) for a description of the flags. * @@ -411,7 +411,7 @@ static int af_ladspa_load_plugin(af_ladspa_t *setup) { /* if label == help, list all labels in library and exit */ if (strcmp(setup->label, "help") == 0) { - mp_msg(MSGT_AFILTER, MSGL_INFO, "%s: %s %s:\n", setup->myname, + mp_msg(MSGT_AFILTER, MSGL_INFO, "%s: %s %s:\n", setup->myname, _("available labels in"), setup->file); for (i=0; ; i++) { ladspa_descriptor = descriptor_function(i); @@ -558,7 +558,7 @@ static int control(struct af_instance_s *af, int cmd, void *arg) { mp_msg(MSGT_AFILTER, MSGL_V, "%s: label --> %s\n", setup->myname, setup->label); /* if (*(char*)arg != '0') arg++; */ /* read ':' */ - + free(buf); /* no longer needed */ /* set new setup->myname */ @@ -716,7 +716,7 @@ static void uninit(struct af_instance_s *af) { /* ------------------------------------------------------------------------- */ /** \brief Process chunk of audio data through the selected LADSPA Plugin. - * + * * \param af Pointer to audio filter instance * \param data Pointer to chunk of audio data * @@ -730,7 +730,7 @@ static af_data_t* play(struct af_instance_s *af, af_data_t *data) { int nsamples = data->len/4; /* /4 because it's 32-bit float */ int nch = data->nch; int rate = data->rate; - int i, p; + int i, p; if (setup->status !=AF_OK) return data; @@ -845,7 +845,7 @@ static af_data_t* play(struct af_instance_s *af, af_data_t *data) { * and right. connect it to the second port. */ - for (p = i; p % setup->ninputs; p++) { + for (p = i; p % setup->ninputs; p++) { pdes->connect_port(setup->chhandles[i-1], setup->inputs[p % setup->ninputs], setup->inbufs[i-1]); |