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

template<typename T >
void gdf::Writer::blitSamplesRaw ( const size_t  channel_idx,
const std::vector< T > &  values 
) [inline]

Blit a number of raw samples to channel.

The sample values are cast to the correct data type, but no range checking is performed

[in]channel_idxindex of the channel written to
[in]valuesvector of raw sample value

Definition at line 182 of file Writer.h.

References gdf::RecordBuffer::blitSamplesRaw().

            m_recbuf.blitSamplesRaw<T>( channel_idx, &values[0], values.size() );

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index