audio: enable mixer_paths for EC reference.

Change-Id: Ib360f49bfd88b8942b201ebe370951e65dca10d4
diff --git a/audio_effects.conf b/audio_effects.conf
index 6298f0f..d58e95e 100644
--- a/audio_effects.conf
+++ b/audio_effects.conf
@@ -128,6 +128,10 @@
     library qcom_pre_processing
     uuid 3770d8a0-4a7c-11e4-ac15-0002a5d5c51b
   }
+  ns {
+    library qcom_pre_processing
+    uuid 5a96f440-4a7c-11e4-8477-0002a5d5c51b
+  }
 }
 
 # Default pre-processing effects. Add to audio_effect.conf "effects" section if
@@ -185,3 +189,9 @@
 #
 # TODO: add default audio pre processor configurations after debug and tuning phase
 #
+pre_processing {
+    voice_communication {
+        aec {}
+        ns {}
+    }
+}
diff --git a/mixer_paths.xml b/mixer_paths.xml
index d8d8241..a598c09 100644
--- a/mixer_paths.xml
+++ b/mixer_paths.xml
@@ -292,6 +292,8 @@
 	<!-- afe-proxy end-->
 	<!-- set the port id which has none topology used on products which has AOV-->
 	<ctl name="Port None Topology" value="PRI_MI2S_TX" />
+	<!-- EC_REF -->
+	<ctl name="AUDIO_REF_EC_UL1 MUX" value="None" />
 
 <!-- These are audio route (FE to BE) specific mixer settings -->
 	<!-- BT SCO samplerate -->
@@ -341,6 +343,18 @@
 		<ctl name="AFE_PCM_RX Audio Mixer MultiMedia1" value="1" />
 	</path>
 
+	<path name="echo-reference">
+		<ctl name="AUDIO_REF_EC_UL1 MUX" value="SLIM_RX" />
+	</path>
+
+	<path name="echo-reference speaker">
+		<ctl name="AUDIO_REF_EC_UL1 MUX" value="QUAT_MI2S_TX" />
+	</path>
+
+	<path name="echo-reference handset">
+		<path name="echo-reference speaker" />
+	</path>
+
 	<path name="low-latency-playback">
 		<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="1" />
 	</path>