Skip to content

Commit 6931d7d

Browse files
committed
Cleanup.
1 parent 38a543c commit 6931d7d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

miniaudio.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46309,11 +46309,6 @@ MA_API void ma_device_state_async_process(ma_device_state_async* pAsyncDeviceSta
4630946309

4631046310
MA_COPY_MEMORY(ma_offset_ptr(pAsyncDeviceState->capture.pBuffer, bytesPerFrame * pAsyncDeviceState->capture.frameCount), pInput, bytesPerFrame * framesToCopy);
4631146311
pAsyncDeviceState->capture.frameCount += framesToCopy;
46312-
46313-
/* If we just filled up the buffer with data, it's time to release the semaphore. */
46314-
/*if (pAsyncDeviceState->capture.frameCount == pAsyncDeviceState->capture.frameCap) {
46315-
ma_semaphore_release(&pAsyncDeviceState->capture.semaphore);
46316-
}*/
4631746312
}
4631846313
}
4631946314
ma_spinlock_unlock(&pAsyncDeviceState->capture.lock);
@@ -46346,11 +46341,6 @@ MA_API void ma_device_state_async_process(ma_device_state_async* pAsyncDeviceSta
4634646341

4634746342
pAsyncDeviceState->playback.frameCount -= framesToCopy;
4634846343
}
46349-
46350-
/* If we just emptied the buffer, it's time to release the semaphore. */
46351-
/*if (pAsyncDeviceState->playback.frameCount == 0) {
46352-
ma_semaphore_release(&pAsyncDeviceState->playback.semaphore);
46353-
}*/
4635446344
}
4635546345
ma_spinlock_unlock(&pAsyncDeviceState->playback.lock);
4635646346

0 commit comments

Comments
 (0)