提交 dc7e05c0 编写于 作者: J jp9000

libobs: Fix double -> float conversion warning

上级 d6ac4570
......@@ -313,7 +313,7 @@ static void volmeter_source_data_received(void *vptr, obs_source_t *source,
// Adjust magnitude/peak based on the volume level set by the user.
// And convert to dB.
mul = muted ? 0.0 : db_to_mul(volmeter->cur_db);
mul = muted ? 0.0f : db_to_mul(volmeter->cur_db);
for (int channel_nr = 0; channel_nr < MAX_AUDIO_CHANNELS;
channel_nr++) {
magnitude[channel_nr] = mul_to_db(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册