mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 03:04:19 +00:00
Version 0.3.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -187,7 +187,7 @@ static struct ast_frame *aopen_handle_escape(struct ast_modem_pvt *p, char esc)
|
||||
p->fr.subclass = 0;
|
||||
p->fr.data = NULL;
|
||||
p->fr.datalen = 0;
|
||||
p->fr.timelen = 0;
|
||||
p->fr.samples = 0;
|
||||
p->fr.offset = 0;
|
||||
p->fr.mallocd = 0;
|
||||
if (esc)
|
||||
@@ -315,7 +315,7 @@ static struct ast_frame *aopen_read(struct ast_modem_pvt *p)
|
||||
/* If we get here, we have a complete voice frame */
|
||||
p->fr.frametype = AST_FRAME_VOICE;
|
||||
p->fr.subclass = AST_FORMAT_SLINEAR;
|
||||
p->fr.timelen = 30;
|
||||
p->fr.samples = 240;
|
||||
p->fr.data = p->obuf;
|
||||
p->fr.datalen = p->obuflen;
|
||||
p->fr.mallocd = 0;
|
||||
|
||||
Reference in New Issue
Block a user