libpsynth 0.2.1
Classes | Namespaces | Functions
/home/raskolnikov/dev/psynth/trunk/src/psynth/sound/buffer.hpp File Reference

Time-stamp: <2011-03-21 17:57:43 raskolnikov> More...

#include <cstddef>
#include <memory>
#include <psynth/base/compat.hpp>
#include <psynth/sound/frame.hpp>
#include <psynth/sound/buffer_range.hpp>
#include <psynth/sound/metafunctions.hpp>
#include <psynth/sound/algorithm.hpp>
Include dependency graph for buffer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  psynth::sound::buffer< Frame, IsPlanar, Alloc >
 container interface over buffer range. More...
struct  psynth::sound::sample_type< buffer< Frame, IsPlanar, Alloc > >
struct  psynth::sound::channel_space_type< buffer< Frame, IsPlanar, Alloc > >
struct  psynth::sound::sample_mapping_type< buffer< Frame, IsPlanar, Alloc > >
struct  psynth::sound::is_planar< buffer< Frame, IsPlanar, Alloc > >

Namespaces

namespace  psynth
namespace  psynth::sound

Functions

template<typename Frame , bool IsPlanar, typename Alloc >
void psynth::sound::swap (buffer< Frame, IsPlanar, Alloc > &buf1, buffer< Frame, IsPlanar, Alloc > &buf2)
template<typename Frame1 , bool IsPlanar1, typename Alloc1 , typename Frame2 , bool IsPlanar2, typename Alloc2 >
bool psynth::sound::operator== (const buffer< Frame1, IsPlanar1, Alloc1 > &buf1, const buffer< Frame2, IsPlanar2, Alloc2 > &buf2)
template<typename Frame1 , bool IsPlanar1, typename Alloc1 , typename Frame2 , bool IsPlanar2, typename Alloc2 >
bool psynth::sound::operator!= (const buffer< Frame1, IsPlanar1, Alloc1 > &buf1, const buffer< Frame2, IsPlanar2, Alloc2 > &buf2)
range, const_range

Get an buffer range from a run-time instantiated buffer

Returns the non-constant-pixel range of any buffer. The returned range is any range.

template<typename Frame , bool IsPlanar, typename Alloc >
const buffer< Frame, IsPlanar,
Alloc >::range & 
psynth::sound::range (buffer< Frame, IsPlanar, Alloc > &buf)
template<typename Frame , bool IsPlanar, typename Alloc >
const buffer< Frame, IsPlanar,
Alloc >::const_range 
psynth::sound::const_range (const buffer< Frame, IsPlanar, Alloc > &buf)
 Returns the constant-frame range of an buffer.

Detailed Description

Time-stamp: <2011-03-21 17:57:43 raskolnikov>

Author:
Juan Pedro Bolivar Puente <raskolnikov@es.gnu.org>
Date:
Thu Oct 21 11:56:59 2010

Sound Buffer implementation.