Duration 0 stops beep, duration UINT32_MAX results in an infinite beep