From 760b12b14eee737f8de02dc26c954521c8e518eb Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sun, 10 May 2026 16:36:11 +0200 Subject: [PATCH] Enable soundfile support for VS2022/2026 builds. --- visualc/src/include/ngspice/config.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/visualc/src/include/ngspice/config.h b/visualc/src/include/ngspice/config.h index c378057e0..323d278b1 100644 --- a/visualc/src/include/ngspice/config.h +++ b/visualc/src/include/ngspice/config.h @@ -5,8 +5,9 @@ /* select major ngspice options */ /* to undefine, replace #define by #undef and comment out */ -/* S parameter analysis */ -#define RFSPICE 1 +/* Define if you want soundfile (*.wav) support */ +#define HAVE_LIBSNDFILE +#define HAVE_LIBSAMPLERATE /* Define if you want PSS analysis */ #define WITH_PSS /**/ @@ -28,6 +29,9 @@ /**********************************************************************/ /********* Don't change entries found below ***************************/ +/* S parameter analysis */ +#define RFSPICE 1 + /* The xspice enhancements */ #define XSPICE 1