[asterisk-commits] dlee: branch dlee/playback-controls r389482 - /team/dlee/playback-controls/res/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 22 09:39:31 CDT 2013


Author: dlee
Date: Wed May 22 09:39:27 2013
New Revision: 389482

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=389482
Log:
It's now the default value

Modified:
    team/dlee/playback-controls/res/res_stasis_playback.c

Modified: team/dlee/playback-controls/res/res_stasis_playback.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/playback-controls/res/res_stasis_playback.c?view=diff&rev=389482&r1=389481&r2=389482
==============================================================================
--- team/dlee/playback-controls/res/res_stasis_playback.c (original)
+++ team/dlee/playback-controls/res/res_stasis_playback.c Wed May 22 09:39:27 2013
@@ -46,8 +46,8 @@
 /*! Number of hash buckets for playback container. Keep it prime! */
 #define PLAYBACK_BUCKETS 127
 
-/*! Number of milliseconds of media to skip */
-#define PLAYBACK_SKIPMS 3000
+/*! Default number of milliseconds of media to skip */
+#define PLAYBACK_DEFAULT_SKIPMS 3000
 
 #define SOUND_URI_SCHEME "sound:"
 #define RECORDING_URI_SCHEME "recording:"
@@ -267,7 +267,7 @@
 	}
 
 	if (skipms == 0) {
-		skipms = PLAYBACK_SKIPMS;
+		skipms = PLAYBACK_DEFAULT_SKIPMS;
 	}
 
 	ast_uuid_generate_str(id, sizeof(id));




More information about the asterisk-commits mailing list