]> sigrok.org Git - libsigrok.git/blobdiff - src/output/wav.c
Introduce OutputFlag
[libsigrok.git] / src / output / wav.c
index 9dc5a1103e05386f27cc1468ca69b81b503b6092..a16f45eaca320115bc576673d6317360843e7e3d 100644 (file)
@@ -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,
 };
-