mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
module-echo-cancel: Correct naming in example and plugins
This commit is contained in:
parent
b877c28d96
commit
d161019b0d
3 changed files with 6 additions and 6 deletions
|
|
@ -151,7 +151,7 @@ impl_enum_interface_info(const struct spa_handle_factory *factory,
|
|||
return 1;
|
||||
}
|
||||
|
||||
const struct spa_handle_factory spa_aec_exaudio_factory = {
|
||||
const struct spa_handle_factory spa_aec_null_factory = {
|
||||
SPA_VERSION_HANDLE_FACTORY,
|
||||
SPA_NAME_AEC,
|
||||
NULL,
|
||||
|
|
@ -169,7 +169,7 @@ int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t
|
|||
|
||||
switch (*index) {
|
||||
case 0:
|
||||
*factory = &spa_aec_exaudio_factory;
|
||||
*factory = &spa_aec_null_factory;
|
||||
break;
|
||||
default:
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -250,7 +250,7 @@ impl_enum_interface_info(const struct spa_handle_factory *factory,
|
|||
return 1;
|
||||
}
|
||||
|
||||
const struct spa_handle_factory spa_aec_exaudio_factory = {
|
||||
const struct spa_handle_factory spa_aec_webrtc_factory = {
|
||||
SPA_VERSION_HANDLE_FACTORY,
|
||||
SPA_NAME_AEC,
|
||||
NULL,
|
||||
|
|
@ -268,7 +268,7 @@ int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t
|
|||
|
||||
switch (*index) {
|
||||
case 0:
|
||||
*factory = &spa_aec_exaudio_factory;
|
||||
*factory = &spa_aec_webrtc_factory;
|
||||
break;
|
||||
default:
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
* - `source.props = {}`: properties to be passed to the source stream
|
||||
* - `sink.props = {}`: properties to be passed to the sink stream
|
||||
* - `library.name = <str>`: the echo cancellation library Currently supported:
|
||||
* `aec/libspa-aec-exaudio`. Leave unset to use the default method (`aec/libspa-aec-exaudio`).
|
||||
* `aec/libspa-aec-webrtc`. Leave unset to use the default method (`aec/libspa-aec-webrtc`).
|
||||
* - `aec.args = <str>`: arguments to pass to the echo cancellation method
|
||||
*
|
||||
* ## General options
|
||||
|
|
@ -96,7 +96,7 @@
|
|||
* context.modules = [
|
||||
* { name = libpipewire-module-echo-cancel
|
||||
* args = {
|
||||
* # library.name = aec/libspa-aec-exaudio
|
||||
* # library.name = aec/libspa-aec-webrtc
|
||||
* # node.latency = 1024/48000
|
||||
* source.props = {
|
||||
* node.name = "Echo Cancellation Source"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue