More improvements to SameBoy audio interface for Super Game Boy.
Added a fix for a very rare crashing issue with SDL 2.0 joypad support.
This commit is contained in:
byuu
2019-10-06 10:14:30 +09:00
parent 1698533774
commit e22167cf82
8 changed files with 42 additions and 20 deletions

View File

@@ -8,7 +8,7 @@ namespace nall::DSP::Resampler {
struct Cubic {
inline auto reset(double inputFrequency, double outputFrequency = 0, uint queueSize = 0) -> void;
inline auto setInputFrequency(double inputFrequency) -> void;
inline auto pending() const -> bool;
inline auto pending() const -> uint;
inline auto read() -> double;
inline auto write(double sample) -> void;
@@ -37,7 +37,7 @@ auto Cubic::setInputFrequency(double inputFrequency) -> void {
ratio = inputFrequency / outputFrequency;
}
auto Cubic::pending() const -> bool {
auto Cubic::pending() const -> uint {
return samples.pending();
}