diff options
author | Octasic Inc <support@octasic.com> | 2006-02-10 13:40:24 +0200 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-02-27 21:07:41 +0200 |
commit | a823b320b1baa1440e10793b9042a6f5c4138748 (patch) | |
tree | dfdb5aee3bc820d0e516e8f0493af051e48848fb /software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c | |
parent | 3d61697e688c99ff9265238b2eab474f7f1bcfc8 (diff) |
importing OCT612x-01.00-PR39
Diffstat (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c')
-rw-r--r-- | software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c index 5b606d8..e116d65 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c @@ -2,7 +2,7 @@ File: oct6100_chip_stats.c - Copyright (c) 2001-2005 Octasic Inc. + Copyright (c) 2001-2006 Octasic Inc. Description: @@ -22,9 +22,9 @@ You should have received a copy of the GNU General Public License along with the OCT6100 GPL API; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. -$Octasic_Release: OCT612xAPI-01.00-PR38 $ +$Octasic_Release: OCT612xAPI-01.00-PR39 $ -$Octasic_Revision: 85 $ +$Octasic_Revision: 87 $ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ @@ -211,6 +211,8 @@ UINT32 Oct6100ChipGetImageInfoDef( f_pChipImageInfo->fDoubleTalkBehavior = FALSE; f_pChipImageInfo->fIdleCodeDetection = TRUE; f_pChipImageInfo->fSinLevel = TRUE; + f_pChipImageInfo->fResetAlcOnTones = FALSE; + f_pChipImageInfo->fAlcNoiseBleedOutTime = FALSE; for ( i = 0; i < cOCT6100_MAX_TONE_EVENT; i++ ) { @@ -264,11 +266,18 @@ UINT32 Oct6100ChipGetImageInfo( f_pChipImageInfo->fIdleCodeDetection = pImageInfo->fIdleCodeDetection; f_pChipImageInfo->fSinLevel = pImageInfo->fSinLevel; f_pChipImageInfo->fDoubleTalkBehavior = pImageInfo->fDoubleTalkBehavior; + f_pChipImageInfo->fHighLevelCompensation = pImageInfo->fRinHighLevelCompensation; + f_pChipImageInfo->fAlcNoiseBleedOutTime = pImageInfo->fAlcNoiseBleedOutTime; + if ( ( pImageInfo->fRinAutoLevelControl == TRUE ) && ( pImageInfo->fSoutAutoLevelControl == TRUE ) ) f_pChipImageInfo->fAutoLevelControl = TRUE; else f_pChipImageInfo->fAutoLevelControl = FALSE; - f_pChipImageInfo->fHighLevelCompensation = pImageInfo->fRinHighLevelCompensation; + + if ( ( pImageInfo->fResetRinAlcOnTones == TRUE ) || ( pImageInfo->fResetSoutAlcOnTones == TRUE ) ) + f_pChipImageInfo->fResetAlcOnTones = TRUE; + else + f_pChipImageInfo->fResetAlcOnTones = FALSE; f_pChipImageInfo->ulMaxChannels = pImageInfo->usMaxNumberOfChannels; f_pChipImageInfo->ulNumTonesAvailable = pImageInfo->byNumToneDetectors; |