wip
This commit is contained in:
commit
6a47139e0d
56 changed files with 4142 additions and 558 deletions
|
|
@ -14,6 +14,11 @@ export const setDefaultAudioContext = () => {
|
|||
return audioContext;
|
||||
};
|
||||
|
||||
export const setAudioContext = (context) => {
|
||||
audioContext = context;
|
||||
return audioContext;
|
||||
};
|
||||
|
||||
export const getAudioContext = () => {
|
||||
if (!audioContext) {
|
||||
return setDefaultAudioContext();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue