Audio Processing Framework (APF) version 0.5.0
Public Member Functions | List of all members
apf::CombineChannelsCrossfadeCopy< L, Out, Crossfade > Class Template Reference

Combine channels: crossfade and accumulate. More...

#include <apf/combine_channels.h>

Inheritance diagram for apf::CombineChannelsCrossfadeCopy< L, Out, Crossfade >:
Inheritance graph
[legend]

Public Member Functions

 CombineChannelsCrossfadeCopy (const L &in, Out &out, const Crossfade &fade)
 
template<typename ItemType , typename F >
void case_one (const ItemType &item, F &)
 
template<typename ItemType , typename F >
void case_two (ItemType &item, F &f)
 
- Public Member Functions inherited from apf::CombineChannelsCrossfadeBase< CombineChannelsCrossfadeCopy< 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< CombineChannelsCrossfadeCopy< 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< CombineChannelsCrossfadeCopy< L, Out, Crossfade > >
CombineChannelsCrossfadeCopy< L, Out, Crossfade > & derived ()
 

Additional Inherited Members

- Protected Types inherited from apf::CombineChannelsBase< CombineChannelsCrossfadeCopy< 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< CombineChannelsCrossfadeCopy< 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< CombineChannelsCrossfadeCopy< L, Out, Crossfade > >
 ~CRTP ()=default
 Protected destructor to avoid base class pointers. More...
 
- Protected Attributes inherited from apf::CombineChannelsCrossfadeBase< CombineChannelsCrossfadeCopy< 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< CombineChannelsCrossfadeCopy< L, Out, Crossfade >, L, Out >
Out & _out
 
CombineChannelsResult::type _selection
 
bool _accumulate
 

Detailed Description

template<typename L, typename Out, typename Crossfade>
class apf::CombineChannelsCrossfadeCopy< L, Out, Crossfade >

Combine channels: crossfade and accumulate.

Definition at line 351 of file combine_channels.h.

Constructor & Destructor Documentation

◆ CombineChannelsCrossfadeCopy()

template<typename L , typename Out , typename Crossfade >
apf::CombineChannelsCrossfadeCopy< L, Out, Crossfade >::CombineChannelsCrossfadeCopy ( const L &  in,
Out &  out,
const Crossfade &  fade 
)
inline

Definition at line 365 of file combine_channels.h.

Member Function Documentation

◆ case_one()

template<typename L , typename Out , typename Crossfade >
template<typename ItemType , typename F >
void apf::CombineChannelsCrossfadeCopy< L, Out, Crossfade >::case_one ( const ItemType &  item,
F &   
)
inline

Definition at line 370 of file combine_channels.h.

◆ case_two()

template<typename L , typename Out , typename Crossfade >
template<typename ItemType , typename F >
void apf::CombineChannelsCrossfadeCopy< L, Out, Crossfade >::case_two ( ItemType &  item,
F &  f 
)
inline

Definition at line 376 of file combine_channels.h.


The documentation for this class was generated from the following file: