Adjust sample rate to avoid buffer overflow
Include OpenGL header