[svn-commits] trunk r32115 - /trunk/cli.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Sun Jun 4 12:38:05 MST 2006


Author: oej
Date: Sun Jun  4 14:38:05 2006
New Revision: 32115

URL: http://svn.digium.com/view/asterisk?rev=32115&view=rev
Log:
- Add information about transcoding to "show channel"

Modified:
    trunk/cli.c

Modified: trunk/cli.c
URL: http://svn.digium.com/view/asterisk/trunk/cli.c?rev=32115&r1=32114&r2=32115&view=diff
==============================================================================
--- trunk/cli.c (original)
+++ trunk/cli.c Sun Jun  4 14:38:05 2006
@@ -702,6 +702,8 @@
 		"  NativeFormats: %s\n"
 		"    WriteFormat: %s\n"
 		"     ReadFormat: %s\n"
+		" WriteTranscode: %s\n"
+		"  ReadTranscode: %s\n"
 		"1st File Descriptor: %d\n"
 		"      Frames in: %d%s\n"
 		"     Frames out: %d%s\n"
@@ -725,6 +727,8 @@
 		ast_getformatname_multiple(nf, sizeof(nf), c->nativeformats), 
 		ast_getformatname_multiple(wf, sizeof(wf), c->writeformat), 
 		ast_getformatname_multiple(rf, sizeof(rf), c->readformat),
+		c->writetrans ? "Yes" : "No",
+		c->readtrans ? "Yes" : "No",
 		c->fds[0],
 		c->fin & ~DEBUGCHAN_FLAG, (c->fin & DEBUGCHAN_FLAG) ? " (DEBUGGED)" : "",
 		c->fout & ~DEBUGCHAN_FLAG, (c->fout & DEBUGCHAN_FLAG) ? " (DEBUGGED)" : "",



More information about the svn-commits mailing list