libpsynth 0.2.1
Public Types | Static Public Member Functions
psynth::sound::kth_sample_range_type< K, Range > Struct Template Reference

Given a source buffer range type Range, returns the type of an buffer range over a given sample of Range. More...

#include <buffer_range_factory.hpp>

List of all members.

Public Types

typedef VB::type type

Static Public Member Functions

static type make (const Range &src)

Detailed Description

template<int K, typename Range>
struct psynth::sound::kth_sample_range_type< K, Range >

Given a source buffer range type Range, returns the type of an buffer range over a given sample of Range.

If 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. If the samples are non-adjacent (interleaved and/or step range) then the return range is a single-sample step range.


Member Typedef Documentation

template<int K, typename Range>
typedef VB::type psynth::sound::kth_sample_range_type< K, Range >::type

Member Function Documentation

template<int K, typename Range>
static type psynth::sound::kth_sample_range_type< K, Range >::make ( const Range &  src) [inline, static]

The documentation for this struct was generated from the following file: