From 47b6ce84b2b41ad4e99c6c347b353152fb77db78 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 2 Feb 2021 11:01:01 +0100 Subject: [PATCH] channelmix: initialize with float --- spa/plugins/audioconvert/channelmix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/audioconvert/channelmix.c b/spa/plugins/audioconvert/channelmix.c index c837c350f..326cb40ff 100644 --- a/spa/plugins/audioconvert/channelmix.c +++ b/spa/plugins/audioconvert/channelmix.c @@ -74,7 +74,7 @@ static void props_reset(struct props *props) props->volume = DEFAULT_VOLUME; props->n_channel_volumes = 0; for (i = 0; i < SPA_AUDIO_MAX_CHANNELS; i++) - props->channel_volumes[i] = 1.0; + props->channel_volumes[i] = 1.0f; props->n_channels = 0; for (i = 0; i < SPA_AUDIO_MAX_CHANNELS; i++) props->channel_map[i] = SPA_AUDIO_CHANNEL_UNKNOWN;