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


setsampfreq

int setsampfreq(DB_Frequency freq)

Return:

0
Success
-1
Failure: illegal sampling frequency specified (freq must not be negative)

This function sets the sampling frequency used by the time-conversion functions (see section [ms]timstr). Use setsampfreq before creating a new `header' file (see section newheader). See section Example 8: Creating a New Database Record, for an illustration of the use of setsampfreq.


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



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