mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
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:
parent
84a6f38ea6
commit
64aae9d551
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
||||
impl->rec_info.channels = info.channels;
|
||||
impl->out_info.channels = info.channels;
|
||||
impl->play_info.channels = info.channels;
|
||||
impl->rec_info = info;
|
||||
impl->out_info = info;
|
||||
impl->play_info = info;
|
||||
}
|
||||
|
||||
pw_properties_free(aec_props);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue