diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-12-13 02:28:57 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-12-13 02:29:16 +0300 |
commit | 68c03edbb563983b6ac3e81a826871bfdf9e3bd4 (patch) | |
tree | c9bdcb2dfeaa60cececdd602b8a9f5fdb0b815fa /src/chips | |
parent | d89084d6eaf3bb65c134201f61449656226cbf80 (diff) | |
download | libADLMIDI-68c03edbb563983b6ac3e81a826871bfdf9e3bd4.tar.gz libADLMIDI-68c03edbb563983b6ac3e81a826871bfdf9e3bd4.tar.bz2 libADLMIDI-68c03edbb563983b6ac3e81a826871bfdf9e3bd4.zip |
Build: Splid the main CMake build script
Keep it have library code only but no utils and examples are will be built independently
#196
Diffstat (limited to 'src/chips')
-rw-r--r-- | src/chips/opl_chip_base.tcc | 4 |
1 files changed, 2 insertions, 2 deletions
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<T>::resampledGenerate(int32_t *output) rsm->out_count = 1; rsm->out_data = f_out; } - output[0] = static_cast<int32_t>(std::lround(f_out[0])); - output[1] = static_cast<int32_t>(std::lround(f_out[1])); + output[0] = static_cast<int32_t>(lround(f_out[0])); + output[1] = static_cast<int32_t>(lround(f_out[1])); } #else template <class T> |