summaryrefslogtreecommitdiff
path: root/zaptel.h
diff options
context:
space:
mode:
Diffstat (limited to 'zaptel.h')
-rw-r--r--zaptel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/zaptel.h b/zaptel.h
index b7850c4..6702297 100644
--- a/zaptel.h
+++ b/zaptel.h
@@ -723,11 +723,13 @@ enum {
#define ZT_TCOP_RESET 1 /* Reset the channel state / codec selection */
#define ZT_TCOP_TRANSCODE 2 /* Begin transcoding a block */
#define ZT_TCOP_GETINFO 3 /* Get information (use zt_transcode_info) */
+#define ZT_TCOP_RELEASE 4 /* Release DTE channel */
typedef struct zt_transcode_info {
unsigned int op;
unsigned int tcnum;
char name[80];
+ int numchannels;
unsigned int srcfmts;
unsigned int dstfmts;
} ZT_TRANSCODE_INFO;
@@ -1441,6 +1443,8 @@ struct zt_transcoder_channel {
unsigned int flags;
unsigned int srcfmt;
unsigned int dstfmt;
+ unsigned int chan_built;
+ unsigned int built_fmts;
struct zt_transcode_header *tch;
};