mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
treewide: fix C++20 compilation error wrt. designated initializers
C++20 introduced designated initializers similar to the ones found in C99, however, in C++ designated initializers cannot be mixed with non-designated initializers. GCC rejects mixed initializers with an error.
This commit is contained in:
parent
2bc5d0914d
commit
da1dbc1120
6 changed files with 7 additions and 7 deletions
|
|
@ -292,7 +292,7 @@ static int webrtc_run(void *object, const float *rec[], const float *play[], flo
|
|||
}
|
||||
|
||||
static const struct spa_audio_aec_methods impl_aec = {
|
||||
SPA_VERSION_AUDIO_AEC_METHODS,
|
||||
.version = SPA_VERSION_AUDIO_AEC_METHODS,
|
||||
.add_listener = NULL,
|
||||
.init = webrtc_init,
|
||||
.run = webrtc_run,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue