X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=sigrok.h;h=e839c4844c9d40a67af9ed4a99cad4219ded9680;hb=da0918aae0d43ab25cb72ddf8773831f0364ebdb;hp=1ad12e96dea80b0f0896b557f16c7c93bf9085a8;hpb=f7d2982d42e876d8814cba203570a45284c79658;p=libsigrok.git diff --git a/sigrok.h b/sigrok.h index 1ad12e96..e839c484 100644 --- a/sigrok.h +++ b/sigrok.h @@ -115,7 +115,7 @@ struct sr_datafeed_header { int num_logic_probes; }; -#if 0 +#if defined(HAVE_LA_ALSA) struct sr_analog_probe { uint8_t att; uint8_t res; /* Needs to be a power of 2, FIXME */ @@ -135,7 +135,7 @@ struct sr_input { }; struct sr_input_format { - char *extension; + char *id; char *description; int (*format_match) (const char *filename); int (*init) (struct sr_input *in); @@ -150,7 +150,7 @@ struct sr_output { }; struct sr_output_format { - char *extension; + char *id; char *description; int df_type; int (*init) (struct sr_output *o);