mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
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:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user