diff options
Diffstat (limited to 'browser/src')
-rw-r--r-- | browser/src/elac.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/browser/src/elac.js b/browser/src/elac.js index ffdba44..61b8878 100644 --- a/browser/src/elac.js +++ b/browser/src/elac.js @@ -75,5 +75,11 @@ window.ELAC = { let elac = await ELAC.create(url); let file = await ELAC.decodeFile(elac, id); return await elac.toAudio(file); + }, + + quickBlob: async (url, id) => { + let elac = await ELAC.create(url); + let file = await ELAC.decodeFile(elac, id); + return window.URL.createObjectURL(file.data); } }
\ No newline at end of file |