Audio Processing Framework (APF) version 0.5.0
|
Combine channels: transform, crossfade and accumulate. More...
#include <apf/combine_channels.h>
Public Member Functions | |
CombineChannelsCrossfade (const L &in, Out &out, const Crossfade &fade) | |
template<typename ItemType , typename F > | |
void | case_one (const ItemType &item, F &f) |
template<typename ItemType , typename F > | |
void | case_two (ItemType &item, F &f) |
Public Member Functions inherited from apf::CombineChannelsCrossfadeBase< CombineChannelsCrossfade< L, Out, Crossfade >, L, Out, Crossfade > | |
CombineChannelsCrossfadeBase (const L &in, Out &out, const Crossfade &fade) | |
void | before_the_loop () |
void | after_the_loop () |
Public Member Functions inherited from apf::CombineChannelsBase< CombineChannelsCrossfade< L, Out, Crossfade >, L, Out > | |
CombineChannelsBase (L &in, Out &out) | |
Constructor. More... | |
void | process (F f) |
Do the actual combining. More... | |
void | before_the_loop () |
void | case_one (const ItemType &, F &) |
void | case_two (const ItemType &, F &) |
void | after_the_loop () |
Public Member Functions inherited from apf::CRTP< CombineChannelsCrossfade< L, Out, Crossfade > > | |
CombineChannelsCrossfade< L, Out, Crossfade > & | derived () |
Additional Inherited Members | |
Protected Types inherited from apf::CombineChannelsBase< CombineChannelsCrossfade< L, Out, Crossfade >, L, Out > | |
using | T = typename std::iterator_traits< typename std::remove_reference< L >::type::value_type::iterator >::value_type |
Protected Member Functions inherited from apf::CombineChannelsBase< CombineChannelsCrossfade< L, Out, Crossfade >, L, Out > | |
void | _case_one_copy (const ItemType &item) |
void | _case_one_transform (const ItemType &item, FunctionType &f) |
Protected Member Functions inherited from apf::CRTP< CombineChannelsCrossfade< L, Out, Crossfade > > | |
~CRTP ()=default | |
Protected destructor to avoid base class pointers. More... | |
Protected Attributes inherited from apf::CombineChannelsCrossfadeBase< CombineChannelsCrossfade< L, Out, Crossfade >, L, Out, Crossfade > | |
bool | _accumulate_fade_in |
bool | _accumulate_fade_out |
std::vector< T > | _fade_out_buffer |
std::vector< T > | _fade_in_buffer |
Protected Attributes inherited from apf::CombineChannelsBase< CombineChannelsCrossfade< L, Out, Crossfade >, L, Out > | |
Out & | _out |
CombineChannelsResult::type | _selection |
bool | _accumulate |
Combine channels: transform, crossfade and accumulate.
Definition at line 412 of file combine_channels.h.
|
inline |
Definition at line 423 of file combine_channels.h.
|
inline |
Definition at line 428 of file combine_channels.h.
|
inline |
Definition at line 434 of file combine_channels.h.