view src/fftw-3.3.3/libbench2/ovtpvt.c @ 23:619f715526df sv_v2.1

Update Vamp plugin SDK to 2.5
author Chris Cannam
date Thu, 09 May 2013 10:52:46 +0100
parents 37bf6b4a2645
children
line wrap: on
line source
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include "bench.h"

void ovtpvt(const char *format, ...)
{
     va_list ap;
     
     va_start(ap, format);
     if (verbose >= 0)
	  vfprintf(stdout, format, ap);
     va_end(ap);
     fflush(stdout);
}

void ovtpvt_err(const char *format, ...)
{
     va_list ap;
     
     va_start(ap, format);
     if (verbose >= 0) {
	  fflush(stdout);
	  vfprintf(stderr, format, ap);
     }
     va_end(ap);
     fflush(stdout);
}