mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Fix a typo.
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user