From 68c03edbb563983b6ac3e81a826871bfdf9e3bd4 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Thu, 13 Dec 2018 02:28:57 +0300 Subject: Build: Splid the main CMake build script Keep it have library code only but no utils and examples are will be built independently #196 --- src/chips/opl_chip_base.tcc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/chips/opl_chip_base.tcc') diff --git a/src/chips/opl_chip_base.tcc b/src/chips/opl_chip_base.tcc index a64aa7c..e6d3f6b 100644 --- a/src/chips/opl_chip_base.tcc +++ b/src/chips/opl_chip_base.tcc @@ -236,8 +236,8 @@ void OPLChipBaseT::resampledGenerate(int32_t *output) rsm->out_count = 1; rsm->out_data = f_out; } - output[0] = static_cast(std::lround(f_out[0])); - output[1] = static_cast(std::lround(f_out[1])); + output[0] = static_cast(lround(f_out[0])); + output[1] = static_cast(lround(f_out[1])); } #else template -- cgit v1.2.3