From 2111c50fe6657c7897bba50196d41f042624e975 Mon Sep 17 00:00:00 2001 From: Octasic Inc Date: Mon, 16 Feb 2009 17:39:26 +0200 Subject: importing OCT612x-01.02.01 --- .../oct6100api/oct6100_api/oct6100_tlv.c | 25 +++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c') diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c index f83d509..1706166 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c @@ -2,7 +2,7 @@ File: oct6100_tlv.c - Copyright (c) 2001-2008 Octasic Inc. + Copyright (c) 2001-2009 Octasic Inc. Description: @@ -24,9 +24,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.01.01 $ +$Octasic_Release: OCT612xAPI-01.02.01 $ -$Octasic_Revision: 113 $ +$Octasic_Revision: 118 $ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ @@ -1397,6 +1397,9 @@ UINT32 Oct6100ApiInterpretTlvEntry( } break; + + + case cOCT6100_TLV_TYPE_RIN_MUTE_BOFF: ulResult = Oct6100ApiTlvCheckLengthField( f_ulTlvFieldLength, @@ -1913,6 +1916,22 @@ UINT32 Oct6100ApiInterpretTlvEntry( break; + case cOCT6100_TLV_TYPE_PER_CHANNEL_PLAYOUT_CONTROL_BOFF: + + ulResult = Oct6100ApiTlvCheckLengthField( f_ulTlvFieldLength, + cOCT6100_TLV_MIN_LENGTH_PER_CHANNEL_PLAYOUT_CONTROL_BOFF, + cOCT6100_TLV_MAX_LENGTH_PER_CHANNEL_PLAYOUT_CONTROL_BOFF ); + if ( ulResult == cOCT6100_ERR_OK ) + { + ulResult = Oct6100ApiTlvReadBitOffsetStruct( f_pApiInstance, + f_ulTlvValueAddress, + &f_pApiInstance->pSharedInfo->MemoryMap.PerChannelPlayoutControlFieldOfst ); + + f_pApiInstance->pSharedInfo->ImageInfo.fPerChannelPlayoutControl = TRUE; + } + + break; + default: /* Unknown TLV type field... check default length and nothing else. */ ulResult = Oct6100ApiTlvCheckLengthField( f_ulTlvFieldLength, -- cgit v1.2.3