summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ahl-policy.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/ahl-policy.c b/src/ahl-policy.c
index 7741afd..ff65d10 100644
--- a/src/ahl-policy.c
+++ b/src/ahl-policy.c
@@ -55,24 +55,10 @@ PUBLIC int Policy_SetProperty(EndpointTypeT endpointType, endpointID_t endpointI
PUBLIC int Policy_SetState(EndpointTypeT endpointType, endpointID_t endpointID, char *pStateName, char *pStateValue)
{
-
- //Mute
- if(strcmp(pStateName, AUDIOHL_STATE_NAME_MUTE) == 0)
- {
- if(strcmp(pStateName, AUDIOHL_STATE_NAME_MUTE) == 0)
-
-
- return AUDIOHL_POLICY_ACCEPT;
- }
-
- //Retrieve global context
-
-
//Active rule check
//Ducking rule settings
-
return AUDIOHL_POLICY_ACCEPT;
}
@@ -87,4 +73,4 @@ PUBLIC int Policy_AudioDeviceChange()
// Raise events to engage device switching
// Policy can also assign audio role(s) for device
return 1; // Policy allowed
-} \ No newline at end of file
+}