From: Paul Brossier Date: Sat, 5 Sep 2015 09:43:22 +0000 (+0200) Subject: src/io/{sink,source}_sndfile.c: remove spaces and tabs X-Git-Tag: 0.4.4~301^2~5 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=a65d37a303f0f35cc5543f0ef8f9c8c355659980;p=aubio.git src/io/{sink,source}_sndfile.c: remove spaces and tabs --- diff --git a/src/io/sink_sndfile.c b/src/io/sink_sndfile.c index 82d6167b..7f1161ba 100644 --- a/src/io/sink_sndfile.c +++ b/src/io/sink_sndfile.c @@ -125,7 +125,7 @@ uint_t aubio_sink_sndfile_open(aubio_sink_sndfile_t *s) { /* show libsndfile err msg */ AUBIO_ERR("sink_sndfile: Failed opening %s. %s\n", s->path, sf_strerror (NULL)); return AUBIO_FAIL; - } + } s->scratch_size = s->max_size*s->channels; /* allocate data for de/interleaving reallocated when needed. */ @@ -140,7 +140,7 @@ uint_t aubio_sink_sndfile_open(aubio_sink_sndfile_t *s) { } void aubio_sink_sndfile_do(aubio_sink_sndfile_t *s, fvec_t * write_data, uint_t write){ - uint_t i, j, channels = s->channels; + uint_t i, j, channels = s->channels; int nsamples = 0; smpl_t *pwrite; sf_count_t written_frames; @@ -170,7 +170,7 @@ void aubio_sink_sndfile_do(aubio_sink_sndfile_t *s, fvec_t * write_data, uint_t } void aubio_sink_sndfile_do_multi(aubio_sink_sndfile_t *s, fmat_t * write_data, uint_t write){ - uint_t i, j, channels = s->channels; + uint_t i, j, channels = s->channels; int nsamples = 0; smpl_t *pwrite; sf_count_t written_frames; diff --git a/src/io/source_sndfile.c b/src/io/source_sndfile.c index e567a239..a2ef1f24 100644 --- a/src/io/source_sndfile.c +++ b/src/io/source_sndfile.c @@ -90,7 +90,7 @@ aubio_source_sndfile_t * new_aubio_source_sndfile(char_t * path, uint_t samplera /* show libsndfile err msg */ AUBIO_ERR("source_sndfile: Failed opening %s: %s\n", s->path, sf_strerror (NULL)); goto beach; - } + } /* get input specs */ s->input_samplerate = sfinfo.samplerate;