summaryrefslogtreecommitdiff
path: root/test/write_iff.pl
diff options
context:
space:
mode:
Diffstat (limited to 'test/write_iff.pl')
-rwxr-xr-xtest/write_iff.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/write_iff.pl b/test/write_iff.pl
index b423ab31..f9efa74d 100755
--- a/test/write_iff.pl
+++ b/test/write_iff.pl
@@ -40,7 +40,7 @@ my $bigdatasize = $bigsamples * $bps * $channels;
my $padding = int($bigdatasize & 1); # for aiff/wave/rf64 chunk alignment
my $padding8 = 8 - int($bigdatasize & 7); $padding8 = 0 if $padding8 == 8; # for wave64 alignment
# wave-ish file needs to be WAVEFORMATEXTENSIBLE?
-my $wavx = ($format eq 'wave' || $format eq 'wave64' || $format eq 'rf64') && ($channels > 2);
+my $wavx = ($format eq 'wave' || $format eq 'wave64' || $format eq 'rf64') && ($channels > 2 || ($bps != 8 && $bps != 16));
# write header