|
|
@ -99,7 +99,7 @@ public: |
|
|
return out_sample; |
|
|
return out_sample; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Common::FixedPoint<50, 14> Read() { |
|
|
|
|
|
|
|
|
Common::FixedPoint<50, 14> Read() const { |
|
|
return *output; |
|
|
return *output; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -110,7 +110,7 @@ public: |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Common::FixedPoint<50, 14> TapOut(const s32 index) { |
|
|
|
|
|
|
|
|
Common::FixedPoint<50, 14> TapOut(const s32 index) const { |
|
|
auto out{input - (index + 1)}; |
|
|
auto out{input - (index + 1)}; |
|
|
if (out < buffer.data()) { |
|
|
if (out < buffer.data()) { |
|
|
out += max_delay + 1; |
|
|
out += max_delay + 1; |
|
|
|