Commit Graph

14 Commits

Author SHA1 Message Date
tmkk
b2fe66e242 resampler.h: cstdint is a C++11 header; include stdint.h instead when not available 2019-02-23 14:46:09 +09:00
Alias Letterman
fd177fb317 Some extra checks in resampler.h 2019-02-11 12:32:17 -06:00
OV2
c052462248 Remove a few warnings 2019-02-11 17:12:02 +01:00
Alias Letterman
b1039e7c65 Fix Windows build. Tweak XAudio a bit. 2019-02-09 16:46:08 -06:00
Brandon Wright
845366f139 Make Resampler a class again. 2019-02-09 12:21:38 -06:00
Brandon Wright
e938225cd2 APU: Remove extra buffers. 2019-02-09 12:03:34 -06:00
Brandon Wright
8c9c3eb6a4 Fix buffer overrun. 2019-02-09 11:40:42 -06:00
Brandon Wright
ac03facaa9 Add single sample push. 2019-02-08 20:32:42 -06:00
Brandon Wright
36406a6627 Add a consolidated resampler. 2019-02-08 20:23:18 -06:00
Brandon Wright
79e641664b Missed another one. 2018-11-15 17:45:29 -06:00
Ari Sundholm
60aabb91d7 Fix some undefined behavior
The destructor of Resampler needs to be virtual, as it is subclassed
and pointers to objects subclassed from it are being deleted.

The issue in controls.cpp is that the loop ends up reading past the
end of an array. The small rewrite of the loop also makes it more
readable.

In memmap.cpp, there is an assignment statement of the following form:
	a[i++] = b[i];
It is undefined what i's value should be in b[i], so this was made
explicit.
2017-09-11 00:42:36 +03:00
Brandon Wright
026f9eaa1e Fix some possible problems from cppcheck. Everything else looks fine. 2016-09-27 15:25:37 -05:00
OV2
debd16c179 Update to latest WIP 2010-09-25 18:46:06 +02:00
OV2
d1666860e0 Initial 1.52 import 2010-09-25 17:46:12 +02:00