Skip to content

Instantly share code, notes, and snippets.

@kgori
Created October 7, 2014 17:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kgori/3d0ca4b27b0bfeaaeff9 to your computer and use it in GitHub Desktop.
Save kgori/3d0ca4b27b0bfeaaeff9 to your computer and use it in GitHub Desktop.
pll patch
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@
AC_PREREQ([2.68])
AC_INIT([libpll], [1.0.0], [Tomas.Flouri@h-its.org])
AC_CONFIG_MACRO_DIR([m4])
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([subdir-objects])
# AM_MAINTAINER_MODE
--- a/src/pll.h
+++ b/src/pll.h
@@ -118,7 +118,7 @@ extern "C" {
#define PLL_BADREAR -1
-#define PLL_NUM_BRANCHES 50
+#define PLL_NUM_BRANCHES 10000
#define PLL_TRUE 1
#define PLL_FALSE 0
@@ -148,7 +148,7 @@ extern "C" {
/* 0.100000 0.00000052651925834844387815526344648331402709118265192955732345581054687500000000 */
#define PLL_ALPHA_MIN 0.02
-#define PLL_ALPHA_MAX 1000.0
+#define PLL_ALPHA_MAX 1000000.0
#define PLL_RATE_MIN 0.0000001
#define PLL_RATE_MAX 1000000.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment