mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
If audio suddenly gets fed into one side of a channel after a lapse of frames flush the other factory so that old audio does not remain in the factory causing the sync code to not execute.
(closes issue #12296) Reported by: jvandal git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@113296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -48,6 +48,7 @@ void ast_slinfactory_destroy(struct ast_slinfactory *sf);
|
||||
int ast_slinfactory_feed(struct ast_slinfactory *sf, struct ast_frame *f);
|
||||
int ast_slinfactory_read(struct ast_slinfactory *sf, short *buf, size_t samples);
|
||||
unsigned int ast_slinfactory_available(const struct ast_slinfactory *sf);
|
||||
void ast_slinfactory_flush(struct ast_slinfactory *sf);
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
}
|
||||
|
Reference in New Issue
Block a user