mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Avoid implicit conversion.
This commit is contained in:
parent
1aada996dc
commit
24e2fd4184
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user