mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
channelmix: initialize with float
This commit is contained in:
parent
9d74bd61a7
commit
47b6ce84b2
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue