From a0318cb9f5eec9b5e0962e1fd8c4579041525a94 Mon Sep 17 00:00:00 2001 From: Sangchul Lee Date: Tue, 6 Oct 2015 17:14:54 +0900 Subject: [PATCH] Add variable for checking if it uses internal codec in sink/source [Version] 5.0-43 [Profile] Common Change-Id: If5d0e98566a78321b0df433d2f7841b3602f5520 --- packaging/pulseaudio.spec | 2 +- src/pulse/proplist.h | 1 + src/pulsecore/sink.h | 1 + src/pulsecore/source.h | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packaging/pulseaudio.spec b/packaging/pulseaudio.spec index 5cea67f..9545754 100644 --- a/packaging/pulseaudio.spec +++ b/packaging/pulseaudio.spec @@ -11,7 +11,7 @@ Name: pulseaudio Summary: Improved Linux sound server Version: 5.0 -Release: 42 +Release: 43 Group: Multimedia/Audio License: GPL-2.0+ and LGPL-2.1+ URL: http://pulseaudio.org diff --git a/src/pulse/proplist.h b/src/pulse/proplist.h index 3d29ee4..9d067ed 100755 --- a/src/pulse/proplist.h +++ b/src/pulse/proplist.h @@ -77,6 +77,7 @@ PA_C_DECL_BEGIN #ifdef __TIZEN__ #define PA_PROP_MEDIA_ROLE_PRIORITY "media.role.priority" #define PA_PROP_MEDIA_ROLE_ROUTE_TYPE "media.role.route_type" +#define PA_PROP_MEDIA_ROUTE_AUTO_ACTIVE_DEV "media.route_auto.active_dev" #define PA_PROP_MEDIA_PARENT_ID "media.parent_id" #define PA_PROP_MEDIA_TIZEN_VOLUME_TYPE "media.tizen_volume_type" #define PA_PROP_MEDIA_TIZEN_VOLUME_GAIN_TYPE "media.tizen_volume_gain_type" diff --git a/src/pulsecore/sink.h b/src/pulsecore/sink.h index d0010c3..830a40e 100644 --- a/src/pulsecore/sink.h +++ b/src/pulsecore/sink.h @@ -314,6 +314,7 @@ struct pa_sink { FILE *dump_fp; pa_hashmap *device_types; void* device_item; + pa_bool_t use_internal_codec; #endif void *userdata; diff --git a/src/pulsecore/source.h b/src/pulsecore/source.h index 6af714c..28c163d 100644 --- a/src/pulsecore/source.h +++ b/src/pulsecore/source.h @@ -249,6 +249,7 @@ struct pa_source { pa_hashmap *device_types; FILE *dump_fp; void* device_item; + pa_bool_t use_internal_codec; #endif void *userdata; -- 2.7.4