From: Paul Brossier Date: Thu, 24 Sep 2009 16:16:02 +0000 (+0200) Subject: src/spectral/phasevoc.c: do no reset hop size, just leave a commented warning X-Git-Tag: bzr2git~323 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cd7d733968b73ddb4117a6ea1a5fcaf590b0988f;p=aubio.git src/spectral/phasevoc.c: do no reset hop size, just leave a commented warning --- diff --git a/src/spectral/phasevoc.c b/src/spectral/phasevoc.c index d7ee1689..08019519 100644 --- a/src/spectral/phasevoc.c +++ b/src/spectral/phasevoc.c @@ -76,11 +76,9 @@ void aubio_pvoc_rdo(aubio_pvoc_t *pv,cvec_t * fftgrain, fvec_t * synthnew) { aubio_pvoc_t * new_aubio_pvoc (uint_t win_s, uint_t hop_s, uint_t channels) { aubio_pvoc_t * pv = AUBIO_NEW(aubio_pvoc_t); - if (win_s < 2*hop_s) { - AUBIO_ERR("Hop size bigger than half the window size!\n"); - AUBIO_ERR("Resetting hop size to half the window size.\n"); - hop_s = win_s / 2; - } + /* if (win_s < 2*hop_s) { + AUBIO_WRN("Hop size bigger than half the window size!\n"); + } */ if (hop_s < 1) { AUBIO_ERR("Hop size is smaller than 1!\n");