diff options
author | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-27 07:41:33 +0000 |
---|---|---|
committer | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-27 07:41:33 +0000 |
commit | e8980010c274e1d520f476361a24af3c6ae23479 (patch) | |
tree | 2a86ac502758423f0858c803e410b23321023d6e /apps/app_rpt.c | |
parent | 40646976f71b9598f3aaf3fa6b5ee642fb1924cd (diff) |
More read/write lock fixes in various modules
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2574 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_rpt.c')
-rwxr-xr-x | apps/app_rpt.c | 8 |
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)"; |