diff options
Diffstat (limited to 'apps/plugins/wav2wv.c')
-rw-r--r-- | apps/plugins/wav2wv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/wav2wv.c b/apps/plugins/wav2wv.c index a3bd0a9d59..1102d13718 100644 --- a/apps/plugins/wav2wv.c +++ b/apps/plugins/wav2wv.c | |||
@@ -138,9 +138,9 @@ static int wav2wv(const char *infile) | |||
138 | rb->memcpy (&native_header, &raw_header, sizeof (raw_header)); | 138 | rb->memcpy (&native_header, &raw_header, sizeof (raw_header)); |
139 | little_endian_to_native (&native_header, WAV_HEADER_FORMAT); | 139 | little_endian_to_native (&native_header, WAV_HEADER_FORMAT); |
140 | 140 | ||
141 | if (rb->strncmp (native_header.ckID, "RIFF", 4) || | 141 | if (rb->strncmp (native_header.ckID, "RIFF", 4) || |
142 | rb->strncmp (native_header.fmt_ckID, "fmt ", 4) || | 142 | rb->strncmp (native_header.fmt_ckID, "fmt ", 4) || |
143 | rb->strncmp (native_header.data_ckID, "data", 4) || | 143 | rb->strncmp (native_header.data_ckID, "data", 4) || |
144 | native_header.FormatTag != 1 || native_header.BitsPerSample != 16) { | 144 | native_header.FormatTag != 1 || native_header.BitsPerSample != 16) { |
145 | rb->splash(HZ*2, "incompatible wav file!"); | 145 | rb->splash(HZ*2, "incompatible wav file!"); |
146 | return true; | 146 | return true; |
@@ -153,7 +153,7 @@ static int wav2wv(const char *infile) | |||
153 | config.bytes_per_sample = 2; | 153 | config.bytes_per_sample = 2; |
154 | config.sample_rate = native_header.SampleRate; | 154 | config.sample_rate = native_header.SampleRate; |
155 | num_chans = config.num_channels = native_header.NumChannels; | 155 | num_chans = config.num_channels = native_header.NumChannels; |
156 | total_samples = native_header.data_ckSize / native_header.BlockAlign; | 156 | total_samples = native_header.data_ckSize / native_header.BlockAlign; |
157 | 157 | ||
158 | /* config.flags |= CONFIG_HIGH_FLAG; */ | 158 | /* config.flags |= CONFIG_HIGH_FLAG; */ |
159 | 159 | ||