libobs: Fix double -> float conversion warning

This commit is contained in:
jp9000 2018-01-16 12:03:03 -08:00
parent d6ac457025
commit dc7e05c0b9

View File

@ -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(