mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: init volume/channelmap correctly in stream-restore
This commit is contained in:
parent
edbec5d4ba
commit
0c66b5677b
4 changed files with 20 additions and 11 deletions
|
|
@ -28,6 +28,10 @@ struct volume {
|
|||
};
|
||||
|
||||
#define VOLUME_INIT (struct volume) { \
|
||||
.channels = 0, \
|
||||
}
|
||||
|
||||
#define VOLUME_DEFAULT (struct volume) { \
|
||||
.channels = 2, \
|
||||
.values[0] = 1.0f, \
|
||||
.values[1] = 1.0f, \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue