summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxegineering <me@xegineering.eu>2024-12-10 21:28:00 +0100
committerxegineering <me@xegineering.eu>2024-12-10 21:28:00 +0100
commit5da49db791b6d70ca5ac4154dc49e55d6219ba33 (patch)
treec649053a4df8a1621c745f66391e81b7babb92ba
parent957d98544686d87d9df522b35981d1055b83c0b9 (diff)
downloadsoundbox-go-5da49db791b6d70ca5ac4154dc49e55d6219ba33.tar
soundbox-go-5da49db791b6d70ca5ac4154dc49e55d6219ba33.tar.zst
soundbox-go-5da49db791b6d70ca5ac4154dc49e55d6219ba33.zip
pipewire: Avoid unnamed struct member init
This makes the code less readable.
-rw-r--r--soundbox/pipewire-binding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/soundbox/pipewire-binding.c b/soundbox/pipewire-binding.c
index bb10e31..4bf970c 100644
--- a/soundbox/pipewire-binding.c
+++ b/soundbox/pipewire-binding.c
@@ -46,7 +46,7 @@ static void on_process(void *userdata)
static const struct pw_stream_events stream_events = {
- PW_VERSION_STREAM_EVENTS,
+ .version = PW_VERSION_STREAM_EVENTS,
.process = on_process,
};