proplist: Add PA_PROP_APPLICATION_PROCESS_ID_ORIGIN property 38/203038/2 accepted/tizen/unified/20190425.014618 submit/tizen/20190422.044155 submit/tizen/20190423.020435
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 9 Apr 2019 06:50:47 +0000 (15:50 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Wed, 10 Apr 2019 07:18:18 +0000 (07:18 +0000)
'application.process.id.origin' is added.

It will be used to check the client PID of a service daemon in
module-tizenaudio-policy. If a service daemon uses PA client API
to create stream, the previous property - application.process.id -
has the daemon PID but not client PID. With this new property,
the daemon can put the PID of its client application.

[Version] 11.1.68
[Issue type] New feature

Change-Id: I676903b901a703b9b59e16d520f2c822a2966573
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/pulseaudio.spec
src/pulse/proplist.h

index 50318dd..9174b6c 100644 (file)
@@ -3,7 +3,7 @@
 Name:             pulseaudio
 Summary:          Improved Linux sound server
 Version:          11.1
-Release:          67
+Release:          68
 Group:            Multimedia/Audio
 License:          LGPL-2.1
 URL:              http://pulseaudio.org
index 99850cf..f44af6c 100644 (file)
@@ -41,6 +41,10 @@ PA_C_DECL_BEGIN
 #define PA_PROP_MEDIA_TIZEN_AUDIO_LATENCY      "media.tizen_audio_latency"
 #define PA_PROP_MEDIA_FOCUS_STATUS             "media.focus_status"
 #define PA_PROP_MEDIA_FOCUS_ID                 "media.focus_id"  /* It is used only for session backward compatibilty and will be deprecated. */
+ /** For clients/streams on UNIX: application process PID, an integer formatted as string. E.g. "4711".
+  * It is used for checking the PID which is not service daemon. When a service daemon uses
+  * PA client API, the daemon can put the PID of its client via this property. */
+#define PA_PROP_APPLICATION_PROCESS_ID_ORIGIN  "application.process.id.origin"
 #define PA_PROP_BUFFER_ATTR_MAXLENGTH          "buffer.attr.maxlength"
 #define PA_PROP_BUFFER_ATTR_TLENGTH            "buffer.attr.tlength"
 #define PA_PROP_BUFFER_ATTR_MINREQ             "buffer.attr.minreq"