]> sigrok.org Git - libsigrok.git/blobdiff - src/output/wav.c
Various minor whitespace fixes.
[libsigrok.git] / src / output / wav.c
index 679bee68b661923a44dc586a71e2abca442a2030..e9c7d6fd1a70bee549121c7ac1872619532e377d 100644 (file)
@@ -336,10 +336,10 @@ static int cleanup(struct sr_output *o)
 
 static struct sr_option options[] = {
        { "scale", "Scale", "Scale values by factor", NULL, NULL },
-       { 0 }
+       ALL_ZERO
 };
 
-static struct sr_option *get_options(void)
+static const struct sr_option *get_options(void)
 {
        if (!options[0].def)
                options[0].def = g_variant_ref_sink(g_variant_new_double(0.0));
@@ -350,10 +350,10 @@ static 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},
        .options = get_options,
        .init = init,
        .receive = receive,
        .cleanup = cleanup,
 };
-