Logo Search packages:      
Sourcecode: libgdf version File versions  Download package

void gdf::EventHeader::setSamplingRate ( float32  fs )

Set Sampling Rate associated with event positions.

Events are not actually sampled, but their position is stored in samples rather than seconds. In order to convert event positions between time and sample, this sampling rate is used.

Definition at line 150 of file EventHeader.cpp.

Referenced by fromStream(), gdf::GDFHeaderAccess::sanitize(), and gdf::Writer::setEventSamplingRate().

    {
        m_efs = fs;
    }

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index