mirror of
https://github.com/DPS2004/gba.git
synced 2025-01-22 20:40:32 -03:00
Update XAudioServer.js
This commit is contained in:
parent
86830a38f9
commit
b24d7c6fca
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ function XAudioServer(channels, sampleRate, minBufferSize, maxBufferSize, underR
|
|||
XAudioJSCallbackAPIEventNotificationCallback2 = (typeof postheartbeatCallback == "function") ? postheartbeatCallback : null;
|
||||
XAudioJSVolume = (volume >= 0 && volume <= 1) ? volume : 1;
|
||||
this.failureCallback = (typeof failureCallback == "function") ? failureCallback : function () { throw(new Error("XAudioJS has encountered a fatal error.")); };
|
||||
this.userEventLatch = (typeof userEventLach == "object") ? userEventLatch : null;
|
||||
this.userEventLatch = (typeof userEventLach == "function") ? userEventLatch : null;
|
||||
this.initializeAudio();
|
||||
}
|
||||
XAudioServer.prototype.MOZWriteAudioNoCallback = function (buffer, upTo) {
|
||||
|
|
Loading…
Add table
Reference in a new issue