Commit Graph

27 Commits

Author SHA1 Message Date
Stephen Anthony 7d23029338 Updated copyright to 2020. Happy New Year to anyone reading this! 2019-12-31 13:48:56 -03:30
Stephen Anthony d35d3c1a35 A few cleanups missed in the previous commits. 2019-12-29 21:08:50 -03:30
Stephen Anthony 62a0049e5f More default initialization updates. 2019-12-28 22:36:40 -03:30
Stephen Anthony ed389d7d27 And yet more fixes for warnings from clang-tidy. 2019-12-28 00:45:09 -03:30
Stephen Anthony f195b36baa More conversions of C-style to std::array.
That's it for a little while; getting tired now ...
2019-12-27 19:22:09 -03:30
Stephen Anthony 7e7348b07c Many more fixes for suggestions from clang-tidy. 2019-12-24 22:11:36 -03:30
Stephen Anthony 55b7394144 More fixes for warnings from clang-tidy.
Sorry if these are all over the place; I'm fixing them in the order that the tool finds them.
2019-12-24 17:50:27 -03:30
Stephen Anthony 9958ad040e Fixed gcc warnings wrt getBank virtual methods.
Converted many C-style arrays to C++ std::array.  In the process, cleaned up a lot of magic constants.

Replaced most C-style memset/memcpy operations with C++ equivalents: std::fill/std::copy.
std::copy in particular fixes a few potential bugs, since it operates on the datatype size,
and not just on raw bytes.
2019-09-16 19:46:15 -02:30
Thomas Jentzsch ac87d3faa5 refactored logging and removed magic numbers 2019-08-14 12:01:15 +02:00
Christian Speckner def0f9027e Log via Logger singleton, fixes races between logging and OSystem teardown. 2019-05-01 23:14:16 +02:00
Stephen Anthony 32d90c1935 Removed '-Wno-double-promotion' from the build flags.
This necessitated fixing float -> double promotions in several places in the code.
In most cases, double was never being utilized anyway, so there was a slight performance hit for casting when not required.
2019-04-21 15:10:07 -02:30
Stephen Anthony 275666b0af The annual copyright year update. 2019-01-01 11:35:51 -03:30
Christian Speckner 4bb3819521 Summarize audio buffer errors and log them to the main log. 2018-12-14 23:57:12 +01:00
Stephen Anthony 0f8dc1f2bb Yet more fixes for warnings from cppcheck. 2018-08-28 17:00:00 -02:30
Stephen Anthony 558b071fbb Some more fixes for warnings from cppcheck. 2018-08-28 14:21:01 -02:30
Stephen Anthony 915e62f466 Fixed a few more warnings, and marked some code for later research. 2018-08-19 22:40:57 -02:30
Stephen Anthony c6086184de Convert C-style casts into C++ style (otherwise gcc and clang complain). 2018-08-09 08:55:41 -02:30
thrust26 e26602354b fixed warnings 2018-08-09 11:39:36 +02:00
Christian Speckner a4d923cbe6 Remove high frequency artifacts from Lanczos resampling.
Run the TIA signal through a high pass with 10Hz cutoff.
2018-08-08 23:11:02 +02:00
Christian Speckner 7391c55f9e Documentation, minor optimization. 2018-05-12 13:32:31 +02:00
Stephen Anthony 4c7ad7a0b6 Replace 'new' calls with unique_ptr.
- @DirtHairy, you can revert this if you like, but unless there is some issue, I'd rather use smart pointers with auto-deallocation.
2018-05-11 21:26:22 -02:30
Stephen Anthony 741515a520 Fix minor compile warnings generated by clang:
- mostly change pointer -> 0 to use 'nullptr'
 - some commenting and formatting fixes
2018-05-11 21:01:40 -02:30
Stephen Anthony d624140829 Updated VS project for resampling work, and fixed minor compile error in
Windows.
2018-05-11 20:32:18 -02:30
Christian Speckner 33db8a8b03 Comments. 2018-05-12 00:44:31 +02:00
Christian Speckner 1b0fb381d0 Lanczos resampling. 2018-05-11 23:52:00 +02:00
Christian Speckner b329c7ff5f Switch to F32 samples, make volume scale more linear in sound.. 2018-05-10 23:54:52 +02:00
Christian Speckner 3bac41dd46 Factor out resampling. 2018-05-09 00:38:01 +02:00