Fix synchronization of recorded files when using Monitor application

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Martin Pycko
2003-08-28 20:02:10 +00:00
parent 3ee27a8a89
commit f14004abfd
10 changed files with 92 additions and 38 deletions

View File

@@ -199,6 +199,10 @@ struct ast_channel {
/* Channel monitoring */
struct ast_channel_monitor *monitor;
/*! Track the read/written samples for monitor use */
unsigned long insmpl;
unsigned long outsmpl;
/* Frames in/out counters */
unsigned int fin;
unsigned int fout;

View File

@@ -27,6 +27,8 @@ extern "C" {
//! Convenient for waiting
#define AST_DIGIT_ANY "0123456789#*"
#define SEEK_FORCECUR 10
/* Defined by individual formats. First item MUST be a
pointer for use by the stream manager */
struct ast_filestream;