diff --git a/spa/plugins/aec/aec-webrtc.cpp b/spa/plugins/aec/aec-webrtc.cpp index d09ccf226..f519189c7 100644 --- a/spa/plugins/aec/aec-webrtc.cpp +++ b/spa/plugins/aec/aec-webrtc.cpp @@ -161,7 +161,7 @@ static int webrtc_run(void *data, const float *rec[], const float *play[], float } static struct spa_audio_aec_methods impl_aec = { - .version = 0, + SPA_VERSION_AUDIO_AEC_METHODS, .add_listener = NULL, .init = webrtc_init, .run = webrtc_run, diff --git a/src/modules/module-protocol-pulse/server.c b/src/modules/module-protocol-pulse/server.c index 3308eea68..eb5b19c87 100644 --- a/src/modules/module-protocol-pulse/server.c +++ b/src/modules/module-protocol-pulse/server.c @@ -328,7 +328,7 @@ done: error: switch (res) { case -EPIPE: - case -ECONNRESET + case -ECONNRESET: pw_log_info("server %p: client %p [%s] disconnected", client->server, client, client->name); SPA_FALLTHROUGH;