diff --git a/TODO b/TODO index 151a051..092ccb9 100644 --- a/TODO +++ b/TODO @@ -30,6 +30,7 @@ finally: * state that audio cannot be inf (also in reset) * state that you need different output buffers to reset * thank scientific paper authors +* change config.h in examples version 1.0.0 build system: * single header generation (vs modules in bwp... to think about) diff --git a/examples/fx_dist/src/bw_example_fx_dist.c b/examples/fx_dist/src/bw_example_fx_dist.c index 5b78c91..e6be37c 100644 --- a/examples/fx_dist/src/bw_example_fx_dist.c +++ b/examples/fx_dist/src/bw_example_fx_dist.c @@ -32,7 +32,7 @@ void bw_example_fx_dist_set_sample_rate(bw_example_fx_dist *instance, float samp void bw_example_fx_dist_reset(bw_example_fx_dist *instance) { bw_dist_reset_coeffs(&instance->dist_coeffs); - bw_dist_reset_state(&instance->dist_coeffs, &instance->dist_state); + bw_dist_reset_state(&instance->dist_coeffs, &instance->dist_state, 0.f); bw_src_int_reset_state(&instance->src_up_coeffs, &instance->src_up_state, 0.f); bw_src_int_reset_state(&instance->src_down_coeffs, &instance->src_down_state, 0.f); } diff --git a/examples/fx_dist/vst3/Makefile b/examples/fx_dist/vst3/Makefile index ae091c2..f2624c8 100644 --- a/examples/fx_dist/vst3/Makefile +++ b/examples/fx_dist/vst3/Makefile @@ -4,3 +4,6 @@ NAME := bw_example_fx_dist SOURCES = ${SOURCES_COMMON} ${ROOT_DIR}/../src/bw_example_fx_dist.c include ${ROOT_DIR}/../../common/vst3/vst3.mk + +CXXFLAGS += -DRELEASE=1 -DNDEBUG -DBW_NO_DEBUG +#CXXFLAGS += -DDEVELOPMENT=1 -DBW_DEBUG_DEEP diff --git a/examples/fxpp_dist/vst3/Makefile b/examples/fxpp_dist/vst3/Makefile index 158a5f5..6493bca 100644 --- a/examples/fxpp_dist/vst3/Makefile +++ b/examples/fxpp_dist/vst3/Makefile @@ -4,3 +4,6 @@ NAME := bw_example_fxpp_dist SOURCES = ${SOURCES_COMMON} ${ROOT_DIR}/../src/bw_example_fxpp_dist.cpp include ${ROOT_DIR}/../../common/vst3/vst3.mk + +CXXFLAGS += -DRELEASE=1 -DNDEBUG -DBW_NO_DEBUG +#CXXFLAGS += -DDEVELOPMENT=1 -DBW_DEBUG_DEEP diff --git a/include/bw_dist.h b/include/bw_dist.h index fb01de1..aad2222 100644 --- a/include/bw_dist.h +++ b/include/bw_dist.h @@ -34,8 +34,12 @@ *