libpsynth 0.2.1
Classes | Functions
nth_sample_range
Buffer Range Transformations

single-sample (grayscale) range of the N-th sample of a given buffer_range More...

Collaboration diagram for nth_sample_range:

Classes

struct  psynth::sound::nth_sample_range_type< Range >
 Given a source buffer range type Range, returns the type of an buffer range over a single sample of RangeIf the samples in the source range are adjacent in memory (such as planar non-step range or single-sample range) then the return range is a single-sample non-step range. More...
struct  psynth::sound::nth_sample_range_type< dynamic_buffer_range< RangeTypes > >
 Given a runtime source buffer range, returns the type of a runtime buffer range over a single sample of the source range. More...

Functions

template<typename Range >
nth_sample_range_type< Range >
::type 
psynth::sound::nth_sample_range (const Range &src, int n)
template<typename RangeTypes >
nth_sample_range_type
< dynamic_buffer_range
< RangeTypes > >::type 
psynth::sound::nth_sample_range (const dynamic_buffer_range< RangeTypes > &src, int n)

Detailed Description

single-sample (grayscale) range of the N-th sample of a given buffer_range


Function Documentation

template<typename Range >
nth_sample_range_type<Range>::type psynth::sound::nth_sample_range ( const Range &  src,
int  n 
)
template<typename RangeTypes >
nth_sample_range_type<dynamic_buffer_range<RangeTypes> >::type psynth::sound::nth_sample_range ( const dynamic_buffer_range< RangeTypes > &  src,
int  n 
) [inline]