Subject: Enable CHANMUTE optimization (for xpp, mostly)
Author: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
Forwarded: no

Enable the OPTIMIZE_CHANMUTE code: don't waste CPU time on channels
whose audio is not useful. Currently only used by xpp drivers, and
disabled by default by upstream.

Also explicitly disable DAHDI_AUDIO_NOTIFY that is still not well-tested
(does nothing if OPTIMIZE_CHANMUTE is not set).

--- a/include/dahdi/dahdi_config.h
+++ b/include/dahdi/dahdi_config.h
@@ -176,12 +176,12 @@
 /*
  * Skip processing PCM if low-level driver won't use it anyway
  */
-/* #define	OPTIMIZE_CHANMUTE */
+#define	OPTIMIZE_CHANMUTE
 
 
 /*
  * Pass DAHDI_AUDIOMODE to channel driver as well
  */
-#define	DAHDI_AUDIO_NOTIFY
+/* #define	DAHDI_AUDIO_NOTIFY */
 
 #endif
