More read/write lock fixes in various modules

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
James Golovich
2004-03-27 07:41:33 +00:00
parent 9fca20acc1
commit 6ce8fc0b15
4 changed files with 11 additions and 11 deletions

View File

@@ -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)";