Fertig für Android
This commit is contained in:
@@ -418,10 +418,14 @@ class SoundManager {
|
||||
return this.channels[channel];
|
||||
}
|
||||
|
||||
async play(channel, audioOrOptions) {
|
||||
async resume(){
|
||||
if (typeof this.context.resume === "function") {
|
||||
this.context.resume();
|
||||
return this.context.resume();
|
||||
}
|
||||
}
|
||||
|
||||
async play(channel, audioOrOptions) {
|
||||
this.resume();
|
||||
channel = Helper.nonNull(channel, SoundManager.CHANNELS.DEFAULT);
|
||||
if (Helper.isNull(audioOrOptions)) {
|
||||
audioOrOptions = {};
|
||||
|
||||
Reference in New Issue
Block a user