diff --git a/miniaudio.h b/miniaudio.h index 18a4a9d4..92ac012e 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -33027,7 +33027,7 @@ static ma_result ma_device_init_internal__pipewire(ma_device* pDevice, ma_contex 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. */ (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. */ - 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) { ma_log_postf(ma_device_get_log(pDevice), MA_LOG_LEVEL_ERROR, "Failed to create PipeWire loop wakeup event."); pContextStatePipeWire->pw_core_disconnect(pCore);