diff options
author | Chris Xiong <chirs241097@gmail.com> | 2021-11-08 00:08:07 -0500 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2021-11-08 00:08:07 -0500 |
commit | 2385b7db19402a18de95d3691ed1bb3dd5333b3b (patch) | |
tree | 3152a0ead597b01618808a94d59e324be92f8a11 | |
parent | b54d1c8a63ac40053e8c88da062afe0199314f6a (diff) | |
download | QMidiPlayer-2385b7db19402a18de95d3691ed1bb3dd5333b3b.tar.xz |
It's _WIN32, not WIN32...
what?
-rw-r--r-- | core/qmpmidioutfluid.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/qmpmidioutfluid.cpp b/core/qmpmidioutfluid.cpp index a0586ae..be4f974 100644 --- a/core/qmpmidioutfluid.cpp +++ b/core/qmpmidioutfluid.cpp @@ -23,7 +23,7 @@ void qmpMidiOutFluid::registerOptions(qmpPluginAPI *coreapi) { qmpMidiOutFluid *me = static_cast<qmpMidiOutFluid *>(d); me->drivers.push_back(std::string(driver)); -#ifdef WIN32 +#ifdef _WIN32 if (std::string(driver) == "waveout") #else if (std::string(driver) == "pulseaudio") @@ -34,14 +34,14 @@ void qmpMidiOutFluid::registerOptions(qmpPluginAPI *coreapi) delete_fluid_settings(fsettings); coreapi->registerOptionEnumInt("Audio", "Audio Driver", "FluidSynth/AudioDriver", drivers, default_driver); coreapi->registerOptionInt("Audio", "Audio Buffer Size", "FluidSynth/BufSize", 64, 8192, -#ifdef WIN32 +#ifdef _WIN32 512 #else 64 #endif ); coreapi->registerOptionInt("Audio", "Audio Buffer Count", "FluidSynth/BufCnt", 2, 64, -#ifdef WIN32 +#ifdef _WIN32 8 #else 16 |