diff options
Diffstat (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c')
-rw-r--r-- | software/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c index 8430a2b..b059be0 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c @@ -80,6 +80,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pAdpcmChanOpen Pointer to ADPCM channel open structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100AdpcmChanOpenDef UINT32 Oct6100AdpcmChanOpenDef( tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen ) { @@ -103,7 +104,9 @@ UINT32 Oct6100AdpcmChanOpenDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100AdpcmChanOpen UINT32 Oct6100AdpcmChanOpen( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen ) @@ -143,6 +146,7 @@ UINT32 Oct6100AdpcmChanOpen( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -159,6 +163,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pAdpcmChanClose Pointer to ADPCM channel close structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100AdpcmChanCloseDef UINT32 Oct6100AdpcmChanCloseDef( tPOCT6100_ADPCM_CHAN_CLOSE f_pAdpcmChanClose ) { @@ -166,7 +171,9 @@ UINT32 Oct6100AdpcmChanCloseDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100AdpcmChanClose UINT32 Oct6100AdpcmChanClose( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_ADPCM_CHAN_CLOSE f_pAdpcmChanClose ) @@ -206,6 +213,7 @@ UINT32 Oct6100AdpcmChanClose( return cOCT6100_ERR_OK; } +#endif /**************************** PRIVATE FUNCTIONS ****************************/ @@ -224,6 +232,7 @@ f_pOpenChip Pointer to chip configuration struct. f_pInstSizes Pointer to struct containing instance sizes. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiGetAdpcmChanSwSizes UINT32 Oct6100ApiGetAdpcmChanSwSizes( IN tPOCT6100_CHIP_OPEN f_pOpenChip, OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes ) @@ -251,6 +260,7 @@ UINT32 Oct6100ApiGetAdpcmChanSwSizes( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -267,6 +277,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the present state of the chip and all its resources. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiAdpcmChanSwInit UINT32 Oct6100ApiAdpcmChanSwInit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -300,6 +311,7 @@ UINT32 Oct6100ApiAdpcmChanSwInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -317,6 +329,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pAdpcmChanOpen Pointer to an ADPCM channel open structure \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100AdpcmChanOpenSer UINT32 Oct6100AdpcmChanOpenSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen ) @@ -350,6 +363,7 @@ UINT32 Oct6100AdpcmChanOpenSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -367,6 +381,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pAdpcmChanOpen Pointer to ADPCM channel open configuration structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckAdpcmChanParams UINT32 Oct6100ApiCheckAdpcmChanParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen ) @@ -497,6 +512,7 @@ UINT32 Oct6100ApiCheckAdpcmChanParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -519,6 +535,7 @@ f_pusInputTsstIndex TSST memory index of the input samples. f_pusOutputTsstIndex TSST memory index of the output samples. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveAdpcmChanResources UINT32 Oct6100ApiReserveAdpcmChanResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen, @@ -627,6 +644,7 @@ UINT32 Oct6100ApiReserveAdpcmChanResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -650,6 +668,7 @@ f_pusInputTsstIndex TSST memory index of the input samples. f_pusOutputTsstIndex TSST memory index of the output samples. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteAdpcmChanStructs UINT32 Oct6100ApiWriteAdpcmChanStructs( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen, @@ -767,6 +786,7 @@ UINT32 Oct6100ApiWriteAdpcmChanStructs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -789,6 +809,7 @@ f_usInputTsstIndex TSST control memory index of the input TSST. f_usOutputTsstIndex TSST control memory index of the output TSST. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdateAdpcmChanEntry UINT32 Oct6100ApiUpdateAdpcmChanEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen, @@ -835,6 +856,7 @@ UINT32 Oct6100ApiUpdateAdpcmChanEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -852,6 +874,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pAdpcmChanClose Pointer to ADPCM channel close structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100AdpcmChanCloseSer UINT32 Oct6100AdpcmChanCloseSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_ADPCM_CHAN_CLOSE f_pAdpcmChanClose ) @@ -883,6 +906,7 @@ UINT32 Oct6100AdpcmChanCloseSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -906,6 +930,7 @@ f_pusInputTsstIndex Index of the input entry in the TSST control memory. f_pusOutputTsstIndex Index of the output entry in the TSST control memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiAssertAdpcmChanParams UINT32 Oct6100ApiAssertAdpcmChanParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_ADPCM_CHAN_CLOSE f_pAdpcmChanClose, @@ -955,6 +980,7 @@ UINT32 Oct6100ApiAssertAdpcmChanParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -974,6 +1000,7 @@ f_usInputTsstIndex Index of the input entry in the TSST control memory. f_usOutputTsstIndex Index of the output entry in the TSST control memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiInvalidateAdpcmChanStructs UINT32 Oct6100ApiInvalidateAdpcmChanStructs( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usAdpcmMemIndex, @@ -1024,6 +1051,7 @@ UINT32 Oct6100ApiInvalidateAdpcmChanStructs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1042,6 +1070,7 @@ f_usAdpcmMemIndex Index of the ADPCM memory used. f_usTsiMemIndex Index of the TSI memory used. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseAdpcmChanResources UINT32 Oct6100ApiReleaseAdpcmChanResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usAdpcmChanIndex, @@ -1119,6 +1148,7 @@ UINT32 Oct6100ApiReleaseAdpcmChanResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1136,6 +1166,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pusAdpcmChanIndex Resulting index reserved in the ADPCM channel list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveAdpcmChanEntry UINT32 Oct6100ApiReserveAdpcmChanEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, OUT PUINT16 f_pusAdpcmChanIndex ) @@ -1163,6 +1194,7 @@ UINT32 Oct6100ApiReserveAdpcmChanEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1180,6 +1212,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_usAdpcmChanIndex Index reserved in the ADPCM channel list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseAdpcmChanEntry UINT32 Oct6100ApiReleaseAdpcmChanEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usAdpcmChanIndex ) @@ -1201,4 +1234,4 @@ UINT32 Oct6100ApiReleaseAdpcmChanEntry( return cOCT6100_ERR_OK; } - +#endif |