Skip to content

Implement new Occurrence Sound Detection Event (SDE) Trigger; dsl_sde_trigger_occurrence_new #1325

@rjhowell44

Description

@rjhowell44

New Occurrence Trigger that triggers on the occurrence of a detected sound that meets the Trigger's filter criteria; class-id, source-name, etc.

Trigger Constructor

/**
 * @brief Occurence trigger that checks for the occurrence of a Sound within a 
 * frame for a specified source and object class_id.
 * @param[in] name unique name for the SDE Trigger
 * @param[in] source unique source name filter for the SDE Trigger, NULL = ANY_SOURCE
 * @param[in] class_id class id filter for this SDE Trigger
 * @param[in] limit limits the number of SDE occurrences, a value of 0 = NO limit
 * @return DSL_RESULT_SUCCESS on success, DSL_RESULT_SDE_TRIGGER_RESULT otherwise.
 */
DslReturnType dsl_sde_trigger_occurrence_new(const wchar_t* name, 
    const wchar_t* source, uint class_id, uint limit);

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions