libpsynth 0.2.1
Functions
fill_frames
STL-like Algorithms

std::fill for image ranges More...

Collaboration diagram for fill_frames:

Functions

template<typename Range , typename Value >
PSYNTH_FORCEINLINE void psynth::sound::fill_frames (const Range &buf_range, const Value &val)
 std::fill for image ranges
template<typename Range , typename Value >
PSYNTH_FORCEINLINE void psynth::sound::fill_frames (Range &buf_range, const Value &val)
 std::fill for image ranges

Detailed Description

std::fill for image ranges

Note:
It seems that for buffers std::fill sufices.
Optimize for planar buffers?

Function Documentation

template<typename Range , typename Value >
PSYNTH_FORCEINLINE void psynth::sound::fill_frames ( const Range &  buf_range,
const Value &  val 
)

std::fill for image ranges

template<typename Range , typename Value >
PSYNTH_FORCEINLINE void psynth::sound::fill_frames ( Range &  buf_range,
const Value &  val 
)

std::fill for image ranges