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;