Fix a typo.

This commit is contained in:
David Reid
2026-02-14 17:08:26 +10:00
parent 6adcbf9034
commit ec69cafef8
+2 -2
View File
@@ -33027,7 +33027,7 @@ static ma_result ma_device_init_internal__pipewire(ma_device* pDevice, ma_contex
return MA_SUCCESS; return MA_SUCCESS;
} }
static void ma_device_on_wakupe__pipewire(void* pUserData, ma_uint64 count) static void ma_device_on_wakeup__pipewire(void* pUserData, ma_uint64 count)
{ {
/* Nothing to do here. This is only used for waking up the loop. */ /* Nothing to do here. This is only used for waking up the loop. */
(void)pUserData; (void)pUserData;
@@ -33120,7 +33120,7 @@ static ma_result ma_device_init__pipewire(ma_device* pDevice, const void* pDevic
} }
/* We need an event for waking up the loop. */ /* We need an event for waking up the loop. */
pDeviceStatePipeWire->pWakeup = pContextStatePipeWire->pw_loop_add_event(pLoop, (ma_spa_source_event_func_t)ma_device_on_wakupe__pipewire, pDeviceStatePipeWire); /* Cast should be fine here. It's complaining about the difference between ma_uint64 and uint64_t. */ pDeviceStatePipeWire->pWakeup = pContextStatePipeWire->pw_loop_add_event(pLoop, (ma_spa_source_event_func_t)ma_device_on_wakeup__pipewire, pDeviceStatePipeWire); /* Cast should be fine here. It's complaining about the difference between ma_uint64 and uint64_t. */
if (pDeviceStatePipeWire->pWakeup == NULL) { if (pDeviceStatePipeWire->pWakeup == NULL) {
ma_log_postf(ma_device_get_log(pDevice), MA_LOG_LEVEL_ERROR, "Failed to create PipeWire loop wakeup event."); ma_log_postf(ma_device_get_log(pDevice), MA_LOG_LEVEL_ERROR, "Failed to create PipeWire loop wakeup event.");
pContextStatePipeWire->pw_core_disconnect(pCore); pContextStatePipeWire->pw_core_disconnect(pCore);