Commit d4fd8411 authored by David Reid's avatar David Reid

Update Emscripten test.

parent efa9e7d7
......@@ -104,6 +104,12 @@ static EM_BOOL on_canvas_click(int eventType, const EmscriptenMouseEvent* pMouse
}
isRunning = MA_TRUE;
} else {
if (ma_device_get_state(&device) == ma_device_state_started) {
ma_device_stop(&device);
} else {
ma_device_start(&device);
}
}
(void)eventType;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment