summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2011-12-02 10:27:25 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2011-12-02 10:27:25 +0000
commitf644dc0199049be3771295e6860e80c124ce9fda (patch)
tree7bad842bdc2a8c423a43b09631d96cfb71e2610a
parentdb9aa520aba500f8b53eda33be39bcc77f1303b8 (diff)
don't add .wav header to .syx files
-rw-r--r--usr.bin/aucat/wav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/aucat/wav.c b/usr.bin/aucat/wav.c
index 5db66df417e..27e0a2423bd 100644
--- a/usr.bin/aucat/wav.c
+++ b/usr.bin/aucat/wav.c
@@ -744,7 +744,7 @@ wav_autohdr(char *name, struct dev *dev, unsigned *hdr, unsigned *mode)
*hdr = HDR_WAV;
*mode &= ~MODE_MIDIMASK;
} else if (strcasecmp(ext, "syx") == 0) {
- *hdr = HDR_WAV;
+ *hdr = HDR_RAW;
*mode &= ~MODE_AUDIOMASK;
}
} else