summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/sound/js_sound.cpp
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2016-02-21 11:48:45 +0100
committer ImJezze <jezze@gmx.net>2016-02-21 11:48:45 +0100
commitcc24a339d8c0517259084b5c178d784626ba965c (patch)
tree9868e9687b5802ae0a3733712a3bbeb3bc75c953 /src/osd/modules/sound/js_sound.cpp
parentb5daabda5495dea5c50e17961ecfed2ea8619d76 (diff)
Merge remote-tracking branch 'refs/remotes/mamedev/master'
Second attempt
Diffstat (limited to 'src/osd/modules/sound/js_sound.cpp')
-rw-r--r--src/osd/modules/sound/js_sound.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/modules/sound/js_sound.cpp b/src/osd/modules/sound/js_sound.cpp
index bd95c79dd2e..581de205d7b 100644
--- a/src/osd/modules/sound/js_sound.cpp
+++ b/src/osd/modules/sound/js_sound.cpp
@@ -6,7 +6,7 @@
Shim for native JavaScript sound interface implementations (Emscripten only).
-*******************************************************************c********/
+****************************************************************************/
#include "sound_module.h"
#include "modules/osdmodule.h"
@@ -34,14 +34,14 @@ public:
{
EM_ASM_ARGS({
// Forward audio stream update on to JS backend implementation.
- jsmess_update_audio_stream($0, $1);
+ jsmame_update_audio_stream($0, $1);
}, (unsigned int)buffer, samples_this_frame);
}
virtual void set_mastervolume(int attenuation)
{
EM_ASM_ARGS({
// Forward volume update on to JS backend implementation.
- jsmess_set_mastervolume($0);
+ jsmame_set_mastervolume($0);
}, attenuation);
}