BearOso
8a4732c9f2
Fix segfault.
2023-08-25 11:47:29 -05:00
BearOso
dd2072b28e
Fix silence adder.
2023-08-25 11:47:29 -05:00
BearOso
12e7f0d21f
Update input rate at right locations.
2023-08-25 11:47:29 -05:00
BearOso
e9b4f6d7fe
Work on sound driver levels.
2023-08-25 11:47:29 -05:00
BearOso
c13e4d8330
Try to fix resampler to be thread-safe.
2023-08-25 11:47:29 -05:00
OV2
afe8dd9f01
Resampler: force even buffer sizes in resize
2023-03-29 12:27:22 +02:00
BearOso
835ad39026
Resampler: Allow only even buffer sizes.
2023-03-28 12:34:35 -05:00
OV2
65d07dc838
Wrap around when pushing single samples
2023-03-28 18:11:27 +02:00
Brandon Wright
f8a0fadfa1
GTK: Use C++ memory allocation.
2019-05-14 15:34:25 -05:00
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