Go to the first, previous, next, last section, table of contents.


getspf

int getspf(void)

Return:

(int)
the number of samples per signal per frame

Unless the application has used setgvmode(DB_HIGHRES) and has then opened a multi-frequency record, this function returns 1. For the case of a multi-frequency record being read in high resolution mode, however, getspf returns the number of samples per signal per frame (hence sampfreq(NULL)/getspf() is the number of frames per second).


Go to the first, previous, next, last section, table of contents.



George B. Moody (george@hstbme.mit.edu)