logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

egd_get_numch - Get the number of channels sampled by type

Description

egd_get_numch()  returns  the number of channels of type stype sampled by the recording device referenced
       by dev. stype must be one of the values returned by egd_sensor_type(3).

Errors

egd_get_numch() will fail if:

       EINVALdev is NULL or stype is not valid value.

Name

       egd_get_numch - Get the number of channels sampled by type

Return Value

       In case of success, the function returns a non negative value corresponding to the number of channels  of
       type  stype  (possibly  0 if the device does not sample this type of data). Otherwise, -1 is returned and
       errno is set accordingly.

See Also

egd_get_cap(3), egd_sensor_type(3)

EPFL                                                  2011                                      EGD_GET_NUMCH(3)

Synopsis

#include<eegdev.h>integd_get_numch(conststructeegdev*dev,intstype);

See Also