summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTai Vuong <tvuong@audiokinetic.com>2017-09-12 20:37:30 -0400
committerTai Vuong <tvuong@audiokinetic.com>2017-09-12 20:37:30 -0400
commitad9474273318f6f266942c320b3d92169473c6ec (patch)
tree38e9ca7f3089a6ed67b3cea9b6dfb7b5db3b55d0
parent9aa408adbb063f4f6d4f15d84cde7f3f367bb1c1 (diff)
code cleanup
-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
+}