libpsynth 0.2.1
Functions
subbuffer_range
Buffer Range Transformations

range of an axis-aligned rectangular area within an buffer_range More...

Collaboration diagram for subbuffer_range:

Functions

template<typename RangeTypes >
dynamic_buffer_range< RangeTypes > psynth::sound::sub_range (const dynamic_buffer_range< RangeTypes > &src, size_t start, size_t size)

Detailed Description

range of an axis-aligned rectangular area within an buffer_range

Todo:
This is an overload for buffer to avoid the container vs range constness problem. Maybe we should step back in front of this constness nightmare?
Todo:
This is a non-const version. Non const versions of range factories are needed because buffers are now ranges. Keep working on this.

Function Documentation

template<typename RangeTypes >
dynamic_buffer_range<RangeTypes> psynth::sound::sub_range ( const dynamic_buffer_range< RangeTypes > &  src,
size_t  start,
size_t  size 
) [inline]