[asterisk-addons-commits] dbrooks: branch 1.6.1 r1022 -	/branches/1.6.1/formats/format_mp3.c
    SVN commits to the Asterisk addons project 
    asterisk-addons-commits at lists.digium.com
       
    Tue Sep  1 10:45:13 CDT 2009
    
    
  
Author: dbrooks
Date: Tue Sep  1 10:45:09 2009
New Revision: 1022
URL: http://svn.asterisk.org/svn-view/asterisk-addons?view=rev&rev=1022
Log:
Fixes MP3 problem with Playback() and Background()
Using Playback() and Background() with an MP3 file was not possible. This patch to
format_mp3 allows MP3s to be used with these functions.
(closes issue #15432)
Reported by: DLNoah
Tested by: dbrooks, DLNoah
Modified:
    branches/1.6.1/formats/format_mp3.c
Modified: branches/1.6.1/formats/format_mp3.c
URL: http://svn.asterisk.org/svn-view/asterisk-addons/branches/1.6.1/formats/format_mp3.c?view=diff&rev=1022&r1=1021&r2=1022
==============================================================================
--- branches/1.6.1/formats/format_mp3.c (original)
+++ branches/1.6.1/formats/format_mp3.c Tue Sep  1 10:45:09 2009
@@ -255,7 +255,7 @@
 	long offset=0,samples;
 	samples = sample_offset * 2;
 
-	min = 0;
+	min = 4;
 	fseek(s->f, 0, SEEK_END);
 	max = ftell(s->f) * 100;
 	cur = p->offset;
    
    
More information about the asterisk-addons-commits
mailing list