diff options
author | James Golovich <james@gnuinter.net> | 2004-04-07 20:12:42 +0000 |
---|---|---|
committer | James Golovich <james@gnuinter.net> | 2004-04-07 20:12:42 +0000 |
commit | 0b2a9dc2971a9179e47a6f4cb044601683a4b90d (patch) | |
tree | d7588de46c6008f346863ad2f9846cfe20c2c87e /apps/app_rpt.c | |
parent | f7b250f9630a256c49e1fe4c6744ab31d4afc3e5 (diff) |
Remove extra argument from ast_set_*_format calls
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 9e9d26f72..c99a06ae6 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, 0); - ast_set_write_format(myrpt->rxchannel,AST_FORMAT_SLINEAR, 0); + ast_set_read_format(myrpt->rxchannel,AST_FORMAT_SLINEAR); + ast_set_write_format(myrpt->rxchannel,AST_FORMAT_SLINEAR); 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, 0); - ast_set_write_format(myrpt->txchannel,AST_FORMAT_SLINEAR, 0); + ast_set_read_format(myrpt->txchannel,AST_FORMAT_SLINEAR); + ast_set_write_format(myrpt->txchannel,AST_FORMAT_SLINEAR); myrpt->txchannel->whentohangup = 0; myrpt->txchannel->appl = "Apprpt"; myrpt->txchannel->data = "(Repeater Rx)"; |