summaryrefslogtreecommitdiffstats
path: root/polyp/native-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/native-common.h')
-rw-r--r--polyp/native-common.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/polyp/native-common.h b/polyp/native-common.h
index 4d5ab53d..fa3213d0 100644
--- a/polyp/native-common.h
+++ b/polyp/native-common.h
@@ -64,6 +64,9 @@ enum {
PA_COMMAND_SUBSCRIBE,
PA_COMMAND_SUBSCRIBE_EVENT,
+
+ PA_COMMAND_SET_SINK_VOLUME,
+ PA_COMMAND_SET_SINK_INPUT_VOLUME,
PA_COMMAND_MAX
};
@@ -90,13 +93,14 @@ enum {
#define PA_NATIVE_COOKIE_FILE ".polypaudio-cookie"
enum pa_subscription_mask {
- PA_SUBSCRIPTION_FACILITY_SINK = 1,
- PA_SUBSCRIPTION_FACILITY_SOURCE = 2,
- PA_SUBSCRIPTION_FACILITY_SINK_INPUT = 4,
- PA_SUBSCRIPTION_FACILITY_SOURCE_OUTPUT = 8,
- PA_SUBSCRIPTION_FACILITY_MODULE = 16,
- PA_SUBSCRIPTION_FACILITY_CLIENT = 32,
- PA_SUBSCRIPTION_FACILITY_SAMPLE_CACHE = 64,
+ PA_SUBSCRIPTION_MASK_NULL = 0,
+ PA_SUBSCRIPTION_MASK_SINK = 1,
+ PA_SUBSCRIPTION_MASK_SOURCE = 2,
+ PA_SUBSCRIPTION_MASK_SINK_INPUT = 4,
+ PA_SUBSCRIPTION_MASK_SOURCE_OUTPUT = 8,
+ PA_SUBSCRIPTION_MASK_MODULE = 16,
+ PA_SUBSCRIPTION_MASK_CLIENT = 32,
+ PA_SUBSCRIPTION_MASK_SAMPLE_CACHE = 64,
};
enum pa_subscription_event_type {