[asterisk-commits] kpfleming: branch 1.6.0 r186463 - in /branches/1.6.0: ./ channels/chan_dahdi.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Apr 3 15:20:55 CDT 2009
Author: kpfleming
Date: Fri Apr 3 15:20:52 2009
New Revision: 186463
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=186463
Log:
Merged revisions 186461 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r186461 | kpfleming | 2009-04-03 15:20:01 -0500 (Fri, 03 Apr 2009) | 11 lines
Merged revisions 186458 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r186458 | kpfleming | 2009-04-03 15:19:20 -0500 (Fri, 03 Apr 2009) | 5 lines
Fix a bug where DAHDI/Zaptel channels would not properly switch formats when requested
Don't offer AST_FORMAT_SLINEAR on DAHDI/Zaptel channels... while it could provide a slight performance benefit, the translation core in Asterisk has some flaws when a channel driver offers multiple raw formats. this fix is much simpler than fixing the translation core to solve that issue (although that will be done later).
........
................
Modified:
branches/1.6.0/ (props changed)
branches/1.6.0/channels/chan_dahdi.c
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/channels/chan_dahdi.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.0/channels/chan_dahdi.c?view=diff&rev=186463&r1=186462&r2=186463
==============================================================================
--- branches/1.6.0/channels/chan_dahdi.c (original)
+++ branches/1.6.0/channels/chan_dahdi.c Fri Apr 3 15:20:52 2009
@@ -6299,7 +6299,7 @@
deflaw = AST_FORMAT_ULAW;
}
ast_channel_set_fd(tmp, 0, i->subs[index].dfd);
- tmp->nativeformats = AST_FORMAT_SLINEAR | deflaw;
+ tmp->nativeformats = deflaw;
/* Start out assuming ulaw since it's smaller :) */
tmp->rawreadformat = deflaw;
tmp->readformat = deflaw;
More information about the asterisk-commits
mailing list