Use consistent nomenclature for device backend wakeup callbacks.

It should be "wakeup" instead of "wake".
This commit is contained in:
David Reid
2026-01-05 06:05:17 +10:00
parent d5ce388d00
commit 4e827fa977
2 changed files with 4 additions and 4 deletions
@@ -2891,7 +2891,7 @@ static ma_result ma_device_step__pipewire(ma_device* pDevice, ma_blocking_mode b
return MA_SUCCESS;
}
static void ma_device_wake__pipewire(ma_device* pDevice)
static void ma_device_wakeup__pipewire(ma_device* pDevice)
{
ma_device_state_pipewire* pDeviceStatePipeWire = ma_device_get_backend_state__pipewire(pDevice);
ma_context_state_pipewire* pContextStatePipeWire = ma_context_get_backend_state__pipewire(ma_device_get_context(pDevice));
@@ -2911,7 +2911,7 @@ static ma_device_backend_vtable ma_gDeviceBackendVTable_PipeWire =
ma_device_start__pipewire,
ma_device_stop__pipewire,
ma_device_step__pipewire,
ma_device_wake__pipewire
ma_device_wakeup__pipewire
};
ma_device_backend_vtable* ma_device_backend_pipewire = &ma_gDeviceBackendVTable_PipeWire;
+2 -2
View File
@@ -660,7 +660,7 @@ static ma_result ma_device_step__sdl2(ma_device* pDevice, ma_blocking_mode block
return ma_device_state_async_step(&pDeviceStateSDL->async, pDevice, blockingMode, NULL);
}
static void ma_device_wake__sdl2(ma_device* pDevice)
static void ma_device_wakeup__sdl2(ma_device* pDevice)
{
ma_device_state_sdl2* pDeviceStateSDL = ma_device_get_backend_state__sdl2(pDevice);
ma_device_state_async_release(&pDeviceStateSDL->async);
@@ -677,7 +677,7 @@ static ma_device_backend_vtable ma_gDeviceBackendVTable_SDL2 =
ma_device_start__sdl2,
ma_device_stop__sdl2,
ma_device_step__sdl2,
ma_device_wake__sdl2
ma_device_wakeup__sdl2
};
ma_device_backend_vtable* ma_device_backend_sdl2 = &ma_gDeviceBackendVTable_SDL2;