Filter mic when recorder audio.
[bertos.git] / boards / sam3x-ek / examples / sam3x-ek_codec / cfg / cfg_wm8731.h
index e268b8015ce27e3196af0e6975b58c527b51ead1..d2bef41d753f28a2405665157fa6a5d17e765851 100644 (file)
@@ -65,7 +65,7 @@
  * $WIZ$ type = "enum"
  * $WIZ$ value_list = "wm8731_deemp"
  */
-#define CONFIG_WM8731_DEEMP     WM8731_DEEMP_DISABLE
+#define CONFIG_WM8731_DEEMP     WM8731_DEEMP_44k1Hz
 
 /**
  * Digital control: DAC soft mute control
  * $WIZ$ type = "enum"
  * $WIZ$ value_list = "wm8731_bypass"
  */
-#define CONFIG_WM8731_BYPASS      WM8731_DACSEL
+#define CONFIG_WM8731_BYPASS             WM8731_DACSEL
 
 /**
  * Analog control: Side tone attenuation
  * $WIZ$ type = "enum"
  * $WIZ$ value_list = "wm8731_sideatt"
  */
-#define CONFIG_WM8731_SIDEATT     WM8731_SIDEATT_6dB
+#define CONFIG_WM8731_SIDEATT            WM8731_SIDEATT_6dB
 
 
 /**
  * Data sampling rate, refer to datasheet for this value.
  * $WIZ$ type = "hex"
  */
-#define CONFIG_WM8731_SAMPLING_RATES     0x6
+#define CONFIG_WM8731_SAMPLING_RATES     WM8731_NORMAL_256FS_44_1KHZ
 
 #endif /* CFG_WM8731_H */