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;
|
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_VERSION_HANDLE_FACTORY,
|
||||||
SPA_NAME_AEC,
|
SPA_NAME_AEC,
|
||||||
NULL,
|
NULL,
|
||||||
|
|
@ -169,7 +169,7 @@ int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t
|
||||||
|
|
||||||
switch (*index) {
|
switch (*index) {
|
||||||
case 0:
|
case 0:
|
||||||
*factory = &spa_aec_exaudio_factory;
|
*factory = &spa_aec_null_factory;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
|
|
@ -250,7 +250,7 @@ impl_enum_interface_info(const struct spa_handle_factory *factory,
|
||||||
return 1;
|
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_VERSION_HANDLE_FACTORY,
|
||||||
SPA_NAME_AEC,
|
SPA_NAME_AEC,
|
||||||
NULL,
|
NULL,
|
||||||
|
|
@ -268,7 +268,7 @@ int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t
|
||||||
|
|
||||||
switch (*index) {
|
switch (*index) {
|
||||||
case 0:
|
case 0:
|
||||||
*factory = &spa_aec_exaudio_factory;
|
*factory = &spa_aec_webrtc_factory;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
* - `source.props = {}`: properties to be passed to the source stream
|
* - `source.props = {}`: properties to be passed to the source stream
|
||||||
* - `sink.props = {}`: properties to be passed to the sink stream
|
* - `sink.props = {}`: properties to be passed to the sink stream
|
||||||
* - `library.name = <str>`: the echo cancellation library Currently supported:
|
* - `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
|
* - `aec.args = <str>`: arguments to pass to the echo cancellation method
|
||||||
*
|
*
|
||||||
* ## General options
|
* ## General options
|
||||||
|
|
@ -96,7 +96,7 @@
|
||||||
* context.modules = [
|
* context.modules = [
|
||||||
* { name = libpipewire-module-echo-cancel
|
* { name = libpipewire-module-echo-cancel
|
||||||
* args = {
|
* args = {
|
||||||
* # library.name = aec/libspa-aec-exaudio
|
* # library.name = aec/libspa-aec-webrtc
|
||||||
* # node.latency = 1024/48000
|
* # node.latency = 1024/48000
|
||||||
* source.props = {
|
* source.props = {
|
||||||
* node.name = "Echo Cancellation Source"
|
* node.name = "Echo Cancellation Source"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue