diff --git a/Frameworks/Dumb/dumb/include/dumb.h b/Frameworks/Dumb/dumb/include/dumb.h index 77d8fc1e1..32274ba5f 100644 --- a/Frameworks/Dumb/dumb/include/dumb.h +++ b/Frameworks/Dumb/dumb/include/dumb.h @@ -679,7 +679,10 @@ typedef struct DUMB_VOLUME_RAMP_INFO DUMB_VOLUME_RAMP_INFO; typedef void (*DUMB_RESAMPLE_PICKUP)(DUMB_RESAMPLER *resampler, void *data); +#ifndef BLIP_T_DEFINED +#define BLIP_T_DEFINED typedef struct blip_t blip_t; +#endif struct DUMB_RESAMPLER { diff --git a/Frameworks/Dumb/dumb/include/internal/blip_buf.h b/Frameworks/Dumb/dumb/include/internal/blip_buf.h index 6888fa37a..6bf37836e 100644 --- a/Frameworks/Dumb/dumb/include/internal/blip_buf.h +++ b/Frameworks/Dumb/dumb/include/internal/blip_buf.h @@ -11,7 +11,10 @@ Sample buffer that resamples from input clock rate to output sample rate */ /** First parameter of most functions is blip_t*, or const blip_t* if nothing is changed. */ +#ifndef BLIP_T_DEFINED +#define BLIP_T_DEFINED typedef struct blip_t blip_t; +#endif /** Creates new buffer that can hold at most sample_count samples. Sets rates so that there are blip_max_ratio clocks per sample. Returns pointer to new