1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

Avoid implicit conversion.

This commit is contained in:
Thomas Harte 2021-11-22 11:28:02 -05:00
parent 1aada996dc
commit 24e2fd4184

View File

@ -311,7 +311,7 @@ template <bool is_stereo> class PushLowpass: public LowpassBase<PushLowpass<is_s
public:
void set_output_volume(float volume) final {
scale_.load(std::clamp(volume * 65535.0f, 0.0f, 65535.0f));
scale_.load(uint16_t(std::clamp(volume * 65535.0f, 0.0f, 65535.0f)));
}
bool get_is_stereo() final {