From 60f7ea56a4ccc88a8e747b87ba9fb39f1d8330b5 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Sun, 24 Jun 2018 21:46:38 +0300 Subject: [Experimental] Big re-factoring of internals and clean-up - Renamed functions - Renamed variables - Documenting of most library internal stuff - Disabling of embedded banks no more conflicts with accidental linking of adldata.cpp --- src/chips/opl_chip_base.tcc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/chips') 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::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(std::lround(f_out[0])); + output[1] = static_cast(std::lround(f_out[1])); } #else template -- cgit v1.2.3