From: Kevin P. Fleming Date: Wed, 31 Jan 2007 18:58:47 +0000 (+0000) Subject: update to match modified transcoder API X-Git-Tag: 1.2.15~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6564129ee764745dd0a8ac6bc601f803a88d5526;p=thirdparty%2Fasterisk.git update to match modified transcoder API git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53044 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/codecs/codec_zap.c b/codecs/codec_zap.c index 40c7d4cb2b..fa20fde89c 100644 --- a/codecs/codec_zap.c +++ b/codecs/codec_zap.c @@ -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;