summaryrefslogtreecommitdiff
path: root/zconfig.h
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-01-20 11:52:37 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-01-20 11:52:37 +0000
commit0a8fc6ab9a65ab14484d86aa274c952bcdd2508b (patch)
tree2a3a5b64cbd6595c1c4d63c27c4c3e931f6e04c0 /zconfig.h
parent21797cd3d683c34b0d59255fb9a0e9ea48c69c36 (diff)
Add zconfig build time option OPTIMIZE_CHANMUTE. Disabled by default.
When enabled, a zaptel channel will have an extra boolean flag: chanmute. If true, Zaptel needs not waste CPU cycles for copying data for this channel. If you do not enable the option, this commit should have no effect. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3708 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zconfig.h')
-rw-r--r--zconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/zconfig.h b/zconfig.h
index a5e18a7..35056e3 100644
--- a/zconfig.h
+++ b/zconfig.h
@@ -189,4 +189,9 @@
*/
#define ZAPTEL_SYNC_TICK
+/*
+ * Skip processing PCM if low-level driver won't use it anyway
+ */
+/* #define OPTIMIZE_CHANMUTE */
+
#endif