summaryrefslogtreecommitdiffstats
path: root/ahl-policy/ahl-policy.h
diff options
context:
space:
mode:
authorTai Vuong <tvuong@audiokinetic.com>2017-11-07 15:40:40 -0500
committerTai Vuong <tvuong@audiokinetic.com>2017-11-07 15:40:40 -0500
commit62d1562669676641613f31f9949008b73d56b458 (patch)
tree3db9d75a615516e4d98df17bf971e023584742ef /ahl-policy/ahl-policy.h
parent2565af906b8e1f40c1e8a1da21b9b29ad995edfe (diff)
Fix memory leak, ducking bug on policy, close stream
Diffstat (limited to 'ahl-policy/ahl-policy.h')
-rw-r--r--ahl-policy/ahl-policy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ahl-policy/ahl-policy.h b/ahl-policy/ahl-policy.h
index ca42016..7910059 100644
--- a/ahl-policy/ahl-policy.h
+++ b/ahl-policy/ahl-policy.h
@@ -22,12 +22,12 @@
#ifndef AHL_DISCONNECT_POLICY
#define MAX_ACTIVE_STREAM_POLICY 30
+#define AHL_POLICY_STR_MAX_LENGTH 256
#define POLICY_FAIL 1
#define POLICY_SUCCESS 0
#define AHL_POLICY_UNDEFINED_HALNAME "UNDEFINED"
#define AHL_POLICY_UNDEFINED_DISPLAYNAME "DeviceNotFound"
-
#define AHL_POLICY_ALSA_API "alsacore"
int Policy_Endpoint_Init(json_object *pInPolicyEndpointJ,json_object **pOutPolicyEndpointJ);