summaryrefslogtreecommitdiff
path: root/software/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c')
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c
index 056d717..4d67576 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c
@@ -83,6 +83,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep
f_pEventGetTone Pointer to structure used to store the Tone events.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100EventGetToneDef
UINT32 Oct6100EventGetToneDef(
tPOCT6100_EVENT_GET_TONE f_pEventGetTone )
{
@@ -94,8 +95,10 @@ UINT32 Oct6100EventGetToneDef(
return cOCT6100_ERR_OK;
}
+#endif
+#if !SKIP_Oct6100EventGetTone
UINT32 Oct6100EventGetTone(
tPOCT6100_INSTANCE_API f_pApiInstance,
tPOCT6100_EVENT_GET_TONE f_pEventGetTone )
@@ -135,6 +138,7 @@ UINT32 Oct6100EventGetTone(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -152,6 +156,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep
f_pBufPlayoutGetEvent Pointer to structure used to store the playout events.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100BufferPlayoutGetEventDef
UINT32 Oct6100BufferPlayoutGetEventDef(
tPOCT6100_BUFFER_PLAYOUT_GET_EVENT f_pBufPlayoutGetEvent )
{
@@ -163,8 +168,10 @@ UINT32 Oct6100BufferPlayoutGetEventDef(
return cOCT6100_ERR_OK;
}
+#endif
+#if !SKIP_Oct6100BufferPlayoutGetEvent
UINT32 Oct6100BufferPlayoutGetEvent(
tPOCT6100_INSTANCE_API f_pApiInstance,
tPOCT6100_BUFFER_PLAYOUT_GET_EVENT f_pBufPlayoutGetEvent )
@@ -204,6 +211,7 @@ UINT32 Oct6100BufferPlayoutGetEvent(
return cOCT6100_ERR_OK;
}
+#endif
/**************************** PRIVATE FUNCTIONS ****************************/
@@ -223,6 +231,7 @@ f_pOpenChip Pointer to chip configuration struct.
f_pInstSizes Pointer to struct containing instance sizes.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiGetEventsSwSizes
UINT32 Oct6100ApiGetEventsSwSizes(
IN tPOCT6100_CHIP_OPEN f_pOpenChip,
OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes )
@@ -259,6 +268,7 @@ UINT32 Oct6100ApiGetEventsSwSizes(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -277,6 +287,7 @@ f_pEventGetTone Pointer to structure which will contain the retreived
events.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100EventGetToneSer
UINT32 Oct6100EventGetToneSer(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN OUT tPOCT6100_EVENT_GET_TONE f_pEventGetTone )
@@ -392,6 +403,7 @@ UINT32 Oct6100EventGetToneSer(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -410,6 +422,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep
f_ulResetBuf Reset flag.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100ApiTransferToneEvents
UINT32 Oct6100ApiTransferToneEvents(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN UINT32 f_ulResetBuf )
@@ -851,6 +864,7 @@ UINT32 Oct6100ApiTransferToneEvents(
return cOCT6100_ERR_OK;
}
+#endif
@@ -873,6 +887,7 @@ f_pEventGetPlayoutStop Pointer to structure which will contain the retreived
events.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100BufferPlayoutGetEventSer
UINT32 Oct6100BufferPlayoutGetEventSer(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN OUT tPOCT6100_BUFFER_PLAYOUT_GET_EVENT f_pBufPlayoutGetEvent )
@@ -992,6 +1007,7 @@ UINT32 Oct6100BufferPlayoutGetEventSer(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -1010,6 +1026,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep
f_ulResetBuf Reset flag.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100BufferPlayoutTransferEvents
UINT32 Oct6100BufferPlayoutTransferEvents(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN UINT32 f_ulResetBuf )
@@ -1096,6 +1113,7 @@ UINT32 Oct6100BufferPlayoutTransferEvents(
return cOCT6100_ERR_OK;
}
+#endif
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
@@ -1118,6 +1136,7 @@ f_fSaveToSoftBuffer Save event to software buffer.
f_pfEventDetected Whether or not an event was detected.
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#if !SKIP_Oct6100BufferPlayoutCheckForSpecificEvent
UINT32 Oct6100BufferPlayoutCheckForSpecificEvent(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN UINT32 f_ulChannelIndex,
@@ -1322,5 +1341,6 @@ UINT32 Oct6100BufferPlayoutCheckForSpecificEvent(
return cOCT6100_ERR_OK;
}
+#endif
#endif /* cOCT6100_REMOVE_EVENTS */