summaryrefslogtreecommitdiffstats
path: root/src/ahl-policy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ahl-policy.h')
-rw-r--r--src/ahl-policy.h21
1 files changed, 2 insertions, 19 deletions
diff --git a/src/ahl-policy.h b/src/ahl-policy.h
index dfb3d7c..d1cf87e 100644
--- a/src/ahl-policy.h
+++ b/src/ahl-policy.h
@@ -16,7 +16,7 @@
#ifndef AHL_POLICY_INCLUDE
#define AHL_POLICY_INCLUDE
-#include "ahl-binding.h"
+#include "ahl-policy-utils.h"
#ifndef AHL_DISCONNECT_POLICY
@@ -35,24 +35,6 @@ typedef enum SystemState {
SYSTEM_MAXVALUE // Enum count, keep at the end
} SystemStateT;
-typedef struct StreamPolicyInfo {
- streamID_t streamID;
- int RolePriority;
- char * pAudioRole;
- InterruptBehaviorT interruptBehavior;
- int iDuckVolume; //duck Volume
-} StreamPolicyInfoT;
-
-typedef struct EndPointPolicyInfo {
- endpointID_t endpointID;
- EndpointTypeT type;
- DeviceURITypeT deviceType;
- char * pDeviceName;
- char * pHalApiName;
- int iVolume; //Current Volume
- GArray * streamInfo; //List of playing or duck stream at a given endpoint
-} EndPointPolicyInfoT;
-
typedef struct HalInfo {
char *pDevID;
@@ -86,5 +68,6 @@ int Policy_Init();
void Policy_Term();
void Policy_OnEvent(const char *evtname, json_object *eventJ);
+extern void audiohlapi_raise_event(json_object * pEventDataJ);
#endif // AHL_DISCONNECT_POLICY
#endif // AHL_POLICY_INCLUDE \ No newline at end of file