From 6564129ee764745dd0a8ac6bc601f803a88d5526 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Wed, 31 Jan 2007 18:58:47 +0000 Subject: [PATCH] update to match modified transcoder API git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53044 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- codecs/codec_zap.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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;