From ad9474273318f6f266942c320b3d92169473c6ec Mon Sep 17 00:00:00 2001 From: Tai Vuong Date: Tue, 12 Sep 2017 20:37:30 -0400 Subject: code cleanup --- src/ahl-policy.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/ahl-policy.c') 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 +} -- cgit 1.2.3-korg