load imported samples directly in prebake
This commit is contained in:
parent
e2a082f748
commit
8bde87246b
3 changed files with 3 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ const clearIDB = () => {
|
|||
};
|
||||
|
||||
// queries the DB, and registers the sounds so they can be played
|
||||
export const registerSamplesFromDB = (config, onComplete = () => {}) => {
|
||||
export const registerSamplesFromDB = (config = userSamplesDBConfig, onComplete = () => {}) => {
|
||||
openDB(config, (objectStore) => {
|
||||
let query = objectStore.getAll();
|
||||
query.onsuccess = (event) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue