diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-06-25 20:37:03 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-06-25 20:37:03 +0300 |
commit | c5509c43b4010ecc3d4f8b464996b26756b645e6 (patch) | |
tree | f53e3f62b424b4f3052eece54d304039d8e1aada /src/chips | |
parent | e3a353a6b84b47ad4204b110249bc74b16554985 (diff) | |
parent | e1bb226e1b8235a2aa80141fc07a305b8a5f1818 (diff) | |
download | libADLMIDI-c5509c43b4010ecc3d4f8b464996b26756b645e6.tar.gz libADLMIDI-c5509c43b4010ecc3d4f8b464996b26756b645e6.tar.bz2 libADLMIDI-c5509c43b4010ecc3d4f8b464996b26756b645e6.zip |
Merge branch 'master' into stable
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 48ad103..a64aa7c 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] = std::lround(f_out[0]); - output[1] = std::lround(f_out[1]); + output[0] = static_cast<int32_t>(std::lround(f_out[0])); + output[1] = static_cast<int32_t>(std::lround(f_out[1])); } #else template <class T> |