DB_Frequency sampfreq(char *record)
Return:
This function determines the sampling frequency (in Hz) for the record
specified by its argument. If its argument is NULL, sampfreq
returns the currently defined sampling frequency, if any. It also sets
the internal variables used by the time-conversion functions
(see section [ms]timstr)
for converting between sample intervals and seconds. See section Example 3: An Annotation Printer,
for an illustration of the use of sampfreq
. Note that the value
returned by sampfreq
for a multifrequency record depends on the
current getvec
mode
(see section setgvmode).
Go to the first, previous, next, last section, table of contents.