diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-06-24 21:46:38 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-06-24 21:46:38 +0300 |
commit | 60f7ea56a4ccc88a8e747b87ba9fb39f1d8330b5 (patch) | |
tree | cc26e12e08a485a8b928991936482fc0c77796f3 /src/chips | |
parent | 76eb1a12ef6e6a3f8c7f6c0a226fc5b35dd99536 (diff) | |
download | libADLMIDI-60f7ea56a4ccc88a8e747b87ba9fb39f1d8330b5.tar.gz libADLMIDI-60f7ea56a4ccc88a8e747b87ba9fb39f1d8330b5.tar.bz2 libADLMIDI-60f7ea56a4ccc88a8e747b87ba9fb39f1d8330b5.zip |
[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
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> |