Optimize Import

This commit is contained in:
MengYX
2020-02-11 14:48:27 +08:00
parent 41a45176be
commit 10f09958c4
8 changed files with 33 additions and 50 deletions

View File

@@ -1,10 +1,10 @@
export const FLAC_HEADER = [0x66, 0x4C, 0x61, 0x43, 0x00];
export const AudioMimeType = {
mp3: "audio/mpeg",
flac: "audio/flac",
m4a: "audio/mp4",
ogg: "audio/ogg"
};
export const FLAC_HEADER = [0x66, 0x4C, 0x61, 0x43, 0x00];
// Also a new draft API: blob.arrayBuffer()
export async function GetArrayBuffer(blobObject) {