13 #ifndef _MpSpeakerSelectBase_h_ 14 #define _MpSpeakerSelectBase_h_ 18 #include <utl/UtlDefs.h> 19 #include <os/OsStatus.h> 20 #include <utl/UtlString.h> 51 virtual OsStatus
init(
int maxParticipants,
int maxActive) = 0;
88 virtual void reset() = 0;
123 virtual OsStatus
setParam(
const char* paramName,
void* value) = 0;
179 #endif // _MpSpeakerSelectBase_h_ virtual OsStatus enableParticipant(int num, UtlBoolean newState)=0
Enable/disable processing of a selected participant.
Definition: MpSpeakerSelectBase.h:41
virtual OsStatus processFrame(MpSpeechParams *speechParams[], int frameSize)=0
Compute speaker ranks.
virtual OsStatus isParticipantEnabled(int num, UtlBoolean &enabled)=0
Is processing enabled for a given participant?
static MpSpeakerSelectBase * createInstance(const UtlString &name="")
Factory method for SS algorithms creation.
Definition: MpSpeakerSelectBase.cpp:32
static UtlString smDefaultAlgorithm
Name of algorithm to be used by default.
Definition: MpSpeakerSelectBase.h:172
virtual void reset()=0
Reset algorithm state to initial and prepare for processing of new data.
virtual OsStatus setParam(const char *paramName, void *value)=0
Set algorithm parameter.
static void setDefaultAlgorithm(const UtlString &name)
Set algorithm to be used by default.
Definition: MpSpeakerSelectBase.cpp:50
virtual ~MpSpeakerSelectBase()
Destructor.
Definition: MpSpeakerSelectBase.h:79
virtual OsStatus init(int maxParticipants, int maxActive)=0
Initialize SS to initial state.