File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,9 @@ target_link_libraries(pluginval PRIVATE
9393if (${CMAKE_SYSTEM_NAME} MATCHES "Linux" )
9494 target_link_libraries (pluginval PRIVATE
9595 -static -libstdc++)
96+ elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" )
97+ target_compile_options (pluginval PRIVATE
98+ -Wfloat-equal -Wunused-result)
9699endif ()
97100
98101set (cmdline_docs_out "${CMAKE_CURRENT_LIST_DIR} /docs/Command line options.md" )
Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ struct ScopedPluginDeinitialiser
303303
304304 ~ScopedPluginDeinitialiser ()
305305 {
306- if (blockSize != 0 && sampleRate != 0 )
306+ if (blockSize != 0 && sampleRate > 0. 0 )
307307 callPrepareToPlayOnMessageThreadIfVST3 (instance, sampleRate, blockSize);
308308 }
309309
You can’t perform that action at this time.
0 commit comments