X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Foutput%2Fwav.c;h=c23602354d969abc078e52f1cf39c0bf63fd4b61;hb=7c16e74d45b91123206efee2116d86462c8e707c;hp=9dc5a1103e05386f27cc1468ca69b81b503b6092;hpb=af7d656d37de4b8b7fc344fd557f9ae8d3238705;p=libsigrok.git diff --git a/src/output/wav.c b/src/output/wav.c index 9dc5a110..c2360235 100644 --- a/src/output/wav.c +++ b/src/output/wav.c @@ -18,7 +18,7 @@ */ #include -#include "libsigrok.h" +#include #include "libsigrok-internal.h" #define LOG_PREFIX "output/wav" @@ -336,7 +336,7 @@ static int cleanup(struct sr_output *o) static struct sr_option options[] = { { "scale", "Scale", "Scale values by factor", NULL, NULL }, - { 0 } + ALL_ZERO }; static const struct sr_option *get_options(void) @@ -350,10 +350,11 @@ static const struct sr_option *get_options(void) SR_PRIV struct sr_output_module output_wav = { .id = "wav", .name = "WAV", - .desc = "WAVE file format", + .desc = "Microsoft WAV file format", + .exts = (const char*[]){"wav", NULL}, + .flags = 0, .options = get_options, .init = init, .receive = receive, .cleanup = cleanup, }; -