add frame rate setter and calc more accurate sleep duration.

This commit is contained in:
hecomi
2017-01-06 18:07:35 +09:00
parent 06d4edbcb0
commit 15624dc0f4
7 changed files with 29 additions and 4 deletions
@@ -172,6 +172,8 @@ public static class Lib
public static extern bool HasBeenUpdated(int id);
[DllImport("uDesktopDuplication")]
public static extern bool UseGetPixels(int id, bool use);
[DllImport("uDesktopDuplication")]
public static extern void SetFrameRate(uint frameRate);
public static string GetName(int id)
{