-int sound_manager_set_route_policy (sound_route_policy_e route)
-{
- if( route < 0 || route > SOUND_ROUTE_HANDSET_ONLY)
- return __convert_sound_manager_error_code(__func__, SOUND_MANAGER_ERROR_INVALID_PARAMETER);
-
- int ret;
- ret = mm_sound_route_set_system_policy(route);
-
- return __convert_sound_manager_error_code(__func__, ret);
-}
-
-int sound_manager_get_route_policy (sound_route_policy_e *route)
-{
- if( route == NULL)
- return __convert_sound_manager_error_code(__func__, SOUND_MANAGER_ERROR_INVALID_PARAMETER);
- int ret;
- ret= mm_sound_route_get_system_policy((system_audio_route_t *)route);
-
- return __convert_sound_manager_error_code(__func__, ret);
-}
-