]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
update to match modified transcoder API
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 31 Jan 2007 18:58:47 +0000 (18:58 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 31 Jan 2007 18:58:47 +0000 (18:58 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53044 65c4cc65-6c06-0410-ace0-fbb531ad65f3

codecs/codec_zap.c

index 40c7d4cb2b8c6db8346b07275d7bd9c013070811..fa20fde89c89c93ac8c1d4d580703df51e71fecd 100644 (file)
@@ -241,7 +241,7 @@ static struct ast_translator_pvt *zap_new_alawtog723(void)
 {
        /* Request translation through zap if possible */
        int fd;
-       unsigned int x = ZT_TCOP_RESET;
+       unsigned int x = ZT_TCOP_ALLOCATE;
        struct ast_translator_pvt *ztp;
        struct zt_transcode_header *hdr;
        int flags;
@@ -298,7 +298,7 @@ static struct ast_translator_pvt *zap_new_ulawtog723(void)
 {
        /* Request translation through zap if possible */
        int fd;
-       unsigned int x = ZT_TCOP_RESET;
+       unsigned int x = ZT_TCOP_ALLOCATE;
        struct ast_translator_pvt *ztp;
        struct zt_transcode_header *hdr;
        int flags;
@@ -355,7 +355,7 @@ static struct ast_translator_pvt *zap_new_g723toalaw(void)
 {
        /* Request translation through zap if possible */
        int fd;
-       unsigned int x = ZT_TCOP_RESET;
+       unsigned int x = ZT_TCOP_ALLOCATE;
        struct ast_translator_pvt *ztp;
        struct zt_transcode_header *hdr;
        int flags;
@@ -412,7 +412,7 @@ static struct ast_translator_pvt *zap_new_g723toulaw(void)
 {
        /* Request translation through zap if possible */
        int fd;
-       unsigned int x = ZT_TCOP_RESET;
+       unsigned int x = ZT_TCOP_ALLOCATE;
        struct ast_translator_pvt *ztp;
        struct zt_transcode_header *hdr;
        int flags;
@@ -469,7 +469,7 @@ static struct ast_translator_pvt *zap_new_alawtog729(void)
 {
        /* Request translation through zap if possible */
        int fd;
-       unsigned int x = ZT_TCOP_RESET;
+       unsigned int x = ZT_TCOP_ALLOCATE;
        struct ast_translator_pvt *ztp;
        struct zt_transcode_header *hdr;
        int flags;
@@ -526,7 +526,7 @@ static struct ast_translator_pvt *zap_new_ulawtog729(void)
 {
        /* Request translation through zap if possible */
        int fd;
-       unsigned int x = ZT_TCOP_RESET;
+       unsigned int x = ZT_TCOP_ALLOCATE;
        struct ast_translator_pvt *ztp;
        struct zt_transcode_header *hdr;
        int flags;
@@ -583,7 +583,7 @@ static struct ast_translator_pvt *zap_new_g729toalaw(void)
 {
        /* Request translation through zap if possible */
        int fd;
-       unsigned int x = ZT_TCOP_RESET;
+       unsigned int x = ZT_TCOP_ALLOCATE;
        struct ast_translator_pvt *ztp;
        struct zt_transcode_header *hdr;
        int flags;
@@ -640,7 +640,7 @@ static struct ast_translator_pvt *zap_new_g729toulaw(void)
 {
        /* Request translation through zap if possible */
        int fd;
-       unsigned int x = ZT_TCOP_RESET;
+       unsigned int x = ZT_TCOP_ALLOCATE;
        struct ast_translator_pvt *ztp;
        struct zt_transcode_header *hdr;
        int flags;