module-echo-cancel: set rec/source/play_info fields correctly

In the fallback case we need to set them all to the same format as
the playback.
This commit is contained in:
Wim Taymans 2023-04-21 18:23:53 +02:00
parent 84a6f38ea6
commit 64aae9d551

View file

@ -1429,9 +1429,9 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
res = spa_audio_aec_init(impl->aec, &aec_props->dict, &info); res = spa_audio_aec_init(impl->aec, &aec_props->dict, &info);
impl->rec_info.channels = info.channels; impl->rec_info = info;
impl->out_info.channels = info.channels; impl->out_info = info;
impl->play_info.channels = info.channels; impl->play_info = info;
} }
pw_properties_free(aec_props); pw_properties_free(aec_props);