File: chanmute

package info (click to toggle)
dahdi-linux 1%3A2.11.1.0.20170917~dfsg-7.4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 10,336 kB
  • sloc: ansic: 125,072; perl: 2,395; sh: 1,140; makefile: 427; xml: 24
file content (19 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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.

--- a/include/dahdi/dahdi_config.h
+++ b/include/dahdi/dahdi_config.h
@@ -176,7 +176,7 @@
 /*
  * Skip processing PCM if low-level driver won't use it anyway
  */
-/* #define	OPTIMIZE_CHANMUTE */
+#define	OPTIMIZE_CHANMUTE
 
 
 /*