libpsynth 0.2.1
Classes | Functions
channel_converted_range
Buffer Range Transformations

Channel converted range of another range. More...

Collaboration diagram for channel_converted_range:

Classes

struct  psynth::sound::channel_converted_range_type< SrcRange, DstP, CC >
 Returns the type of a range that does channel conversion upon dereferencing its frames. More...
struct  psynth::sound::channel_converted_range_type< dynamic_buffer_range< RangeTypes >, DstP, CC >
 Returns the type of a runtime-specified range, channel-converted to a given frame type with user specified channel converter. More...
struct  psynth::sound::channel_converted_range_type< dynamic_buffer_range< RangeTypes >, DstP >
 Returns the type of a runtime-specified range, channel-converted to a given frame type with the default coor converter. More...

Functions

template<typename DstP , typename Range , typename CC >
channel_converted_range_type
< Range, DstP, CC >::type 
psynth::sound::channel_converted_range (const Range &src, CC cc)
 range of a different channel space with a user defined channel-converter
template<typename DstP , typename Range >
channel_converted_range_type
< Range, DstP >::type 
psynth::sound::channel_converted_range (const Range &src)
 overload of generic channel_converted_range with the default channel-converter
template<typename DstP , typename RangeTypes , typename CC >
channel_converted_range_type
< dynamic_buffer_range
< RangeTypes >, DstP, CC >
::type 
psynth::sound::channel_converted_range (const dynamic_buffer_range< RangeTypes > &src, CC cc)
 overload of generic channel_converted_range with user defined channel-converter
template<typename DstP , typename RangeTypes >
channel_converted_range_type
< dynamic_buffer_range
< RangeTypes >, DstP >::type 
psynth::sound::channel_converted_range (const dynamic_buffer_range< RangeTypes > &src)
 overload of generic channel_converted_range with the default channel-converter
template<typename DstP , typename RangeTypes , typename CC >
channel_converted_range_type
< dynamic_buffer_range
< RangeTypes >, DstP, CC >
::type 
psynth::sound::dynamic_channel_converted_range (const dynamic_buffer_range< RangeTypes > &src, CC cc)
 overload of generic channel_converted_range with user defined channel-converter
template<typename DstP , typename RangeTypes >
channel_converted_range_type
< dynamic_buffer_range
< RangeTypes >, DstP >::type 
psynth::sound::dynamic_channel_converted_range (const dynamic_buffer_range< RangeTypes > &src)
 overload of generic channel_converted_range with the default channel-converter

Detailed Description

Channel converted range of another range.

Function object that given a source frame, returns it converted to a given channel space and sample depth. Models: FrameDereferenceAdaptorConcept

Useful in constructing a channel converted range over a given buffer range


Function Documentation

template<typename DstP , typename Range , typename CC >
channel_converted_range_type<Range, DstP, CC>::type psynth::sound::channel_converted_range ( const Range &  src,
CC  cc 
) [inline]

range of a different channel space with a user defined channel-converter

template<typename DstP , typename Range >
channel_converted_range_type<Range,DstP>::type psynth::sound::channel_converted_range ( const Range &  src) [inline]

overload of generic channel_converted_range with the default channel-converter

template<typename DstP , typename RangeTypes >
channel_converted_range_type<dynamic_buffer_range<RangeTypes>, DstP>::type psynth::sound::channel_converted_range ( const dynamic_buffer_range< RangeTypes > &  src) [inline]

overload of generic channel_converted_range with the default channel-converter

template<typename DstP , typename RangeTypes , typename CC >
channel_converted_range_type< dynamic_buffer_range<RangeTypes>, DstP, CC>::type psynth::sound::channel_converted_range ( const dynamic_buffer_range< RangeTypes > &  src,
CC  cc 
) [inline]

overload of generic channel_converted_range with user defined channel-converter

template<typename DstP , typename RangeTypes >
channel_converted_range_type<dynamic_buffer_range<RangeTypes>, DstP>::type psynth::sound::dynamic_channel_converted_range ( const dynamic_buffer_range< RangeTypes > &  src) [inline]

overload of generic channel_converted_range with the default channel-converter

These are workarounds for GCC 3.4, which thinks channel_converted_range is ambiguous with the same method for templated ranges (in sound/buffer_range_factory.hpp)

template<typename DstP , typename RangeTypes , typename CC >
channel_converted_range_type< dynamic_buffer_range<RangeTypes>, DstP, CC>::type psynth::sound::dynamic_channel_converted_range ( const dynamic_buffer_range< RangeTypes > &  src,
CC  cc 
) [inline]

overload of generic channel_converted_range with user defined channel-converter

These are workarounds for GCC 3.4, which thinks channel_converted_range is ambiguous with the same method for templated ranges (in gil/buffer_range_factory.hpp)