summaryrefslogtreecommitdiff
path: root/apps/app_rpt.c
diff options
context:
space:
mode:
authorJames Golovich <james@gnuinter.net>2004-03-27 07:41:33 +0000
committerJames Golovich <james@gnuinter.net>2004-03-27 07:41:33 +0000
commit6ce8fc0b15fbb7813a11eb6e6fab0d3debff688c (patch)
tree2a86ac502758423f0858c803e410b23321023d6e /apps/app_rpt.c
parent9fca20acc17f48d415406b8a7c3e162a6c5ffe01 (diff)
More read/write lock fixes in various modules
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_rpt.c')
-rwxr-xr-xapps/app_rpt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/app_rpt.c b/apps/app_rpt.c
index c99a06ae6..9e9d26f72 100755
--- a/apps/app_rpt.c
+++ b/apps/app_rpt.c
@@ -378,8 +378,8 @@ pthread_attr_t attr;
myrpt->rxchannel = ast_request(myrpt->rxchanname,AST_FORMAT_SLINEAR,tele);
if (myrpt->rxchannel)
{
- ast_set_read_format(myrpt->rxchannel,AST_FORMAT_SLINEAR);
- ast_set_write_format(myrpt->rxchannel,AST_FORMAT_SLINEAR);
+ ast_set_read_format(myrpt->rxchannel,AST_FORMAT_SLINEAR, 0);
+ ast_set_write_format(myrpt->rxchannel,AST_FORMAT_SLINEAR, 0);
myrpt->rxchannel->whentohangup = 0;
myrpt->rxchannel->appl = "Apprpt";
myrpt->rxchannel->data = "(Repeater Rx)";
@@ -405,8 +405,8 @@ pthread_attr_t attr;
myrpt->txchannel = ast_request(myrpt->txchanname,AST_FORMAT_SLINEAR,tele);
if (myrpt->txchannel)
{
- ast_set_read_format(myrpt->txchannel,AST_FORMAT_SLINEAR);
- ast_set_write_format(myrpt->txchannel,AST_FORMAT_SLINEAR);
+ ast_set_read_format(myrpt->txchannel,AST_FORMAT_SLINEAR, 0);
+ ast_set_write_format(myrpt->txchannel,AST_FORMAT_SLINEAR, 0);
myrpt->txchannel->whentohangup = 0;
myrpt->txchannel->appl = "Apprpt";
myrpt->txchannel->data = "(Repeater Rx)";