Skip to content

Commit c7c923c

Browse files
authored
Use mime type audio/wav for .wav files (#620)
1 parent 700cf15 commit c7c923c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

core.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export type MimeType =
192192
| 'video/webm'
193193
| 'video/quicktime'
194194
| 'video/vnd.avi'
195-
| 'audio/vnd.wave'
195+
| 'audio/wav'
196196
| 'audio/qcelp'
197197
| 'audio/x-ms-asf'
198198
| 'video/x-ms-asf'

core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ export class FileTypeParser {
835835
if (this.check([0x57, 0x41, 0x56, 0x45], {offset: 8})) {
836836
return {
837837
ext: 'wav',
838-
mime: 'audio/vnd.wave',
838+
mime: 'audio/wav',
839839
};
840840
}
841841

supported.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export const mimeTypes = [
189189
'video/webm',
190190
'video/quicktime',
191191
'video/vnd.avi',
192-
'audio/vnd.wave',
192+
'audio/wav',
193193
'audio/qcelp',
194194
'audio/x-ms-asf',
195195
'video/x-ms-asf',

0 commit comments

Comments
 (0)