[svn-commits] dvossel: branch 1.6.2 r187546 - in /branches/1.6.2: ./ main/audiohook.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Apr 9 14:30:07 CDT 2009


Author: dvossel
Date: Thu Apr  9 14:29:58 2009
New Revision: 187546

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=187546
Log:
Merged revisions 186379 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r186379 | dvossel | 2009-04-03 11:29:47 -0500 (Fri, 03 Apr 2009) | 6 lines
  
  audio_audiohook_write_list() did not correctly update sample size after ast_translate.
  
  audio_audiohook_write_list() did not take into account that the sample size may change after translation depending on if the original frame is is 8khz or 16khz.  the sample size is now updated after translating to reflect this possibility.  This caused the audio on the receiving end to sound terrible.  Thanks to jcolp and mmichelson for helping me work this out.
  
  (issue AST-197)
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/main/audiohook.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/main/audiohook.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.2/main/audiohook.c?view=diff&rev=187546&r1=187545&r2=187546
==============================================================================
--- branches/1.6.2/main/audiohook.c (original)
+++ branches/1.6.2/main/audiohook.c Thu Apr  9 14:29:58 2009
@@ -576,6 +576,7 @@
 		}
 		if (!(middle_frame = ast_translate(in_translate->trans_pvt, frame, 0)))
 			return frame;
+		samples = middle_frame->samples;
 	}
 
 	/* Queue up signed linear frame to each spy */




More information about the svn-commits mailing list