From: Jaechul Lee Date: Fri, 25 Mar 2022 01:58:29 +0000 (+0900) Subject: proplist: Add echo-cancellation properties X-Git-Tag: accepted/tizen/unified/20220328.131511^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fcbe0c39dc996ca45f59305b8e048f4ca7b951da;p=platform%2Fupstream%2Fpulseaudio.git proplist: Add echo-cancellation properties properties are added to pa_proplist define PA_PROP_ECHO_CANCEL_METHOD - set what method want to use. PA_PROP_ECHO_CANCEL_REFERENCE_DEVICE - device-id by sound_manager api PA_PROP_ECHO_CANCEL_REFERENCE_SINK - sink index that is converted from device-id [Version] 15.0-6 [Issue Type] Add define Change-Id: I0b016ff2200e3a4ab8490e68773f986d3e5e62b2 Signed-off-by: Jaechul Lee --- diff --git a/packaging/pulseaudio.spec b/packaging/pulseaudio.spec index 0fce194..f8e51bf 100644 --- a/packaging/pulseaudio.spec +++ b/packaging/pulseaudio.spec @@ -4,7 +4,7 @@ Name: pulseaudio Summary: Improved Linux sound server Version: 15.0 -Release: 5 +Release: 6 Group: Multimedia/Audio License: LGPL-2.1 URL: http://pulseaudio.org diff --git a/src/pulse/proplist.h b/src/pulse/proplist.h index e805659..2af9187 100644 --- a/src/pulse/proplist.h +++ b/src/pulse/proplist.h @@ -56,6 +56,12 @@ PA_C_DECL_BEGIN #define PA_PROP_MEDIA_REMOTE_NAME "media.remote.name" #define PA_PROP_MEDIA_REMOTE_DESCRIPTION "media.remote.description" #define PA_PROP_MEDIA_REMOTE_ACCESS "media.remote.access" + +/* Echo-cancellation */ +#define PA_PROP_MEDIA_ECHO_CANCEL_METHOD "media.echo_cancel.method" +#define PA_PROP_MEDIA_ECHO_CANCEL_REFERENCE_DEVICE "media.echo_cancel.reference_device_id" +#define PA_PROP_MEDIA_ECHO_CANCEL_REFERENCE_SINK "media.echo_cancel.reference_device_sink" + #endif /** For streams: localized media name, formatted as UTF-8. E.g. "Guns'N'Roses: Civil War".*/