filtbuf->len = filtbuf->len - length + sillen;
if (ctx->verbose) {
- mrp_debug("purging buffer. %d samples preserved out of %u",
+ mrp_debug("purging buffer. %d samples preserved out of %zu",
filtbuf->len, origlen);
}
inpbuf->minreq = minreq;
if (ctx->verbose) {
- mrp_debug("input buffer length: %u byte (%.3lf sec), "
- "min. request %u byte (%.3lf sec)",
+ mrp_debug("input buffer length: %zu byte (%.3lf sec), "
+ "min. request %zu byte (%.3lf sec)",
size, (double)(size/sizeof(int16)) / (double)opts->rate,
minreq, (double)(minreq/sizeof(int16)) / (double)opts->rate);
}
return;
if (ctx->verbose)
- mrp_debug("processing %u byte input data", inpbuf->len);
+ mrp_debug("processing %zu byte input data", inpbuf->len);
if (!inpbuf->calibrated) {
if (cont_ad_calib(cont) < 0) {
if (ctx->verbose) {
mrp_debug("sphinx plugin: calibration requires %u samples "
- "(%.3lf sec)", calsiz / sizeof(int16),
+ "(%.3lf sec)", (unsigned int)(calsiz / sizeof(int16)),
(double)(calsiz / sizeof(int16)) / (double)rate);
}