mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
bluez5: init node soft volumes to 1.0f
This commit is contained in:
parent
f92a5b3bbd
commit
c7cac40e03
1 changed files with 4 additions and 2 deletions
|
|
@ -155,8 +155,10 @@ static void init_node(struct impl *this, struct node *node, uint32_t id)
|
||||||
|
|
||||||
spa_zero(*node);
|
spa_zero(*node);
|
||||||
node->id = id;
|
node->id = id;
|
||||||
for (i = 0; i < SPA_AUDIO_MAX_CHANNELS; i++)
|
for (i = 0; i < SPA_AUDIO_MAX_CHANNELS; i++) {
|
||||||
node->volumes[i] = 1.0;
|
node->volumes[i] = 1.0f;
|
||||||
|
node->soft_volumes[i] = 1.0f;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct a2dp_codec *get_a2dp_codec(enum spa_bluetooth_audio_codec id)
|
static const struct a2dp_codec *get_a2dp_codec(enum spa_bluetooth_audio_codec id)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue