shithub: dumb

Download patch

ref: f8dfb33eeaf570b29580736dd1d5092e49ae9ddf
parent: 75c25767bcae8a13eb08b00fd46c4922619c34b6
author: Chris Moeller <kode54@gmail.com>
date: Fri Sep 27 15:49:44 EDT 2013

Moved internal headers out of public dumb.h

--- a/dumb/include/dumb.h
+++ b/dumb/include/dumb.h
@@ -679,8 +679,7 @@
 
 typedef void (*DUMB_RESAMPLE_PICKUP)(DUMB_RESAMPLER *resampler, void *data);
 
-#include "internal/blip_buf.h"
-#include "internal/lanczos_resampler.h"
+typedef struct blip_t blip_t;
 
 struct DUMB_RESAMPLER
 {
--- a/dumb/src/helpers/resample.c
+++ b/dumb/src/helpers/resample.c
@@ -45,6 +45,9 @@
 #include <math.h>
 #include "dumb.h"
 
+#include "internal/blip_buf.h"
+#include "internal/lanczos_resampler.h"
+
 
 
 /* Compile with -DHEAVYDEBUG if you want to make sure the pick-up function is
--- a/dumb/src/it/itrender.c
+++ b/dumb/src/it/itrender.c
@@ -25,6 +25,9 @@
 #include "internal/it.h"
 #include "internal/lpc.h"
 
+#include "internal/blip_buf.h"
+#include "internal/lanczos_resampler.h"
+
 // #define BIT_ARRAY_BULLSHIT
 
 #define END_RAMPING