[Asterisk-cvs] asterisk/include/asterisk frame.h,1.52,1.53

kpfleming kpfleming
Mon Aug 22 15:27:24 CDT 2005


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv8900/include/asterisk

Modified Files:
	frame.h 
Log Message:
support new format for musiconhold.conf (issue #4908)
support non-SLINEAR moh streams (issue #4908)
add external app to feed TCP stream into Asterisk for moh (issue #4908)


Index: frame.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/frame.h,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- frame.h	15 May 2005 04:48:30 -0000	1.52
+++ frame.h	22 Aug 2005 19:29:29 -0000	1.53
@@ -398,6 +398,9 @@
 /* Returns the number of samples contained in the frame */
 extern int ast_codec_get_samples(struct ast_frame *f);
 
+/* Returns the number of bytes for the number of samples of the given format */
+extern int ast_codec_get_len(int format, int samples);
+
 /* Gets duration in ms of interpolation frame for a format */
 static inline int ast_codec_interp_len(int format) 
 { 




More information about the svn-commits mailing list