mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Fix Emscripten test.
This commit is contained in:
@@ -104,7 +104,7 @@ 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) {
|
||||
if (ma_device_get_status(&device) == ma_device_status_started) {
|
||||
ma_device_stop(&device);
|
||||
} else {
|
||||
ma_device_start(&device);
|
||||
|
||||
Reference in New Issue
Block a user