diff options
Diffstat (limited to 'libs/audiographer')
-rw-r--r-- | libs/audiographer/private/gdither/gdither.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/audiographer/private/gdither/gdither.cc b/libs/audiographer/private/gdither/gdither.cc index 75e16d7863..98d31c44c2 100644 --- a/libs/audiographer/private/gdither/gdither.cc +++ b/libs/audiographer/private/gdither/gdither.cc @@ -43,6 +43,7 @@ #include <stdlib.h> #endif +#include <assert.h> #include <sys/types.h> /* Lipshitz's minimally audible FIR, only really works for 46kHz-ish signals */ @@ -197,6 +198,7 @@ inline static void gdither_innner_loop(const GDitherType dt, break; case GDitherShaped: /* Save raw value for error calculations */ + assert (ss); ideal = tmp; /* Run FIR and add white noise */ |