InitSound() eats cpu for no reason
Posted: Mon Oct 04, 2021 6:58 am
Simply calling InitSound() spawns 2 additional threads that eat cpu while doing nothing. It takes 0.5% of one core on my system. Debugger on/off or any other compiler params don't change anything, macOS version seems to not influence that either.
Code: Select all
InitSound()
OpenWindow(0,0,0,400,300,"",#PB_Window_SystemMenu|#PB_Window_ScreenCentered)
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow