Please replace the comma operator with the correct semicolon when setting aec.name and aec.latency. This will help avoid syntax errors and improve readability.

Signed-off-by: liujiahe <liujiahe@uniontech.com>
This commit is contained in:
刘佳和 2026-06-22 17:39:46 +08:00
parent db569ab566
commit 51ea8aab2f

View file

@ -448,9 +448,9 @@ impl_init(const struct spa_handle_factory *factory,
SPA_TYPE_INTERFACE_AUDIO_AEC, SPA_TYPE_INTERFACE_AUDIO_AEC,
SPA_VERSION_AUDIO_AEC, SPA_VERSION_AUDIO_AEC,
&impl_aec, impl); &impl_aec, impl);
impl->aec.name = "webrtc", impl->aec.name = "webrtc";
impl->aec.info = NULL; impl->aec.info = NULL;
impl->aec.latency = "480/48000", impl->aec.latency = "480/48000";
impl->log = static_cast<struct spa_log *>(spa_support_find(support, n_support, SPA_TYPE_INTERFACE_Log)); impl->log = static_cast<struct spa_log *>(spa_support_find(support, n_support, SPA_TYPE_INTERFACE_Log));
spa_log_topic_init(impl->log, &log_topic); spa_log_topic_init(impl->log, &log_topic);