From 6931d7d159849f64c4901a56a3de1aad865d161e Mon Sep 17 00:00:00 2001 From: David Reid Date: Wed, 17 Dec 2025 07:34:31 +1000 Subject: [PATCH] Cleanup. --- miniaudio.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index 6438f851..c00638c4 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -46309,11 +46309,6 @@ MA_API void ma_device_state_async_process(ma_device_state_async* pAsyncDeviceSta MA_COPY_MEMORY(ma_offset_ptr(pAsyncDeviceState->capture.pBuffer, bytesPerFrame * pAsyncDeviceState->capture.frameCount), pInput, bytesPerFrame * framesToCopy); pAsyncDeviceState->capture.frameCount += framesToCopy; - - /* If we just filled up the buffer with data, it's time to release the semaphore. */ - /*if (pAsyncDeviceState->capture.frameCount == pAsyncDeviceState->capture.frameCap) { - ma_semaphore_release(&pAsyncDeviceState->capture.semaphore); - }*/ } } ma_spinlock_unlock(&pAsyncDeviceState->capture.lock); @@ -46346,11 +46341,6 @@ MA_API void ma_device_state_async_process(ma_device_state_async* pAsyncDeviceSta pAsyncDeviceState->playback.frameCount -= framesToCopy; } - - /* If we just emptied the buffer, it's time to release the semaphore. */ - /*if (pAsyncDeviceState->playback.frameCount == 0) { - ma_semaphore_release(&pAsyncDeviceState->playback.semaphore); - }*/ } ma_spinlock_unlock(&pAsyncDeviceState->playback.lock);