remove printf, fix error message

This commit is contained in:
Nick Lanham 2012-02-07 12:54:42 +01:00
parent e7ed85db4d
commit e608ed3906

3
drmr.c
View File

@ -111,7 +111,7 @@ instantiate(const LV2_Descriptor* descriptor,
features++;
}
if (!drmr->map) {
fprintf(stderr, "LV2 host does not support urid:map.\n");
fprintf(stderr, "LV2 host does not support uri-map.\n");
free(drmr);
return 0;
}
@ -149,7 +149,6 @@ connect_port(LV2_Handle instance,
break;
case DRMR_KITNUM:
if(data) drmr->kitReq = (float*)data;
printf("Connected kit\n");
break;
case DRMR_GAIN_ONE:
if (data) drmr->gains[0] = (float*)data;