mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fix "tell" for wav (bug #2212)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -520,7 +520,7 @@ static long wav_tell(struct ast_filestream *fs)
|
|||||||
offset = lseek(fs->fd, 0, SEEK_CUR);
|
offset = lseek(fs->fd, 0, SEEK_CUR);
|
||||||
/* since this will most likely be used later in play or record, lets stick
|
/* since this will most likely be used later in play or record, lets stick
|
||||||
* to that level of resolution, just even frames boundaries */
|
* to that level of resolution, just even frames boundaries */
|
||||||
return (offset - 52)/65/320;
|
return (offset - 52)/65*320;
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *wav_getcomment(struct ast_filestream *s)
|
static char *wav_getcomment(struct ast_filestream *s)
|
||||||
|
Reference in New Issue
Block a user