mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04: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);
|
||||
node->id = id;
|
||||
for (i = 0; i < SPA_AUDIO_MAX_CHANNELS; i++)
|
||||
node->volumes[i] = 1.0;
|
||||
for (i = 0; i < SPA_AUDIO_MAX_CHANNELS; i++) {
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue