summaryrefslogtreecommitdiff
path: root/include/asterisk/file.h
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-06-28 22:50:47 +0000
committerMark Spencer <markster@digium.com>2003-06-28 22:50:47 +0000
commit3b7891887808db51d70c68795c9d6028f89bca58 (patch)
tree902d5085d33fe26d1e4423a993e2443df2c20aa1 /include/asterisk/file.h
parent9befc6968493c84e90a25d4b02889c8ca1853cc8 (diff)
Totally redo file formats
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/file.h')
-rwxr-xr-xinclude/asterisk/file.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/asterisk/file.h b/include/asterisk/file.h
index 3cc739e64..7ac0aa12b 100755
--- a/include/asterisk/file.h
+++ b/include/asterisk/file.h
@@ -39,13 +39,11 @@ struct ast_filestream;
int ast_format_register(char *name, char *exts, int format,
struct ast_filestream * (*open)(int fd),
struct ast_filestream * (*rewrite)(int fd, char *comment),
- int (*apply)(struct ast_channel *, struct ast_filestream *),
- int (*play)(struct ast_filestream *),
int (*write)(struct ast_filestream *, struct ast_frame *),
int (*seek)(struct ast_filestream *, long offset, int whence),
int (*trunc)(struct ast_filestream *),
long (*tell)(struct ast_filestream *),
- struct ast_frame * (*read)(struct ast_filestream *),
+ struct ast_frame * (*read)(struct ast_filestream *, int *timetonext),
void (*close)(struct ast_filestream *),
char * (*getcomment)(struct ast_filestream *));
@@ -252,7 +250,7 @@ int ast_stream_rewind(struct ast_filestream *fs, long ms);
*/
long ast_tellstream(struct ast_filestream *fs);
-#define AST_RESERVED_POINTERS 4
+#define AST_RESERVED_POINTERS 12
#if defined(__cplusplus) || defined(c_plusplus)
}