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

Base class for CombineChannelsCrossfade*. More...

#include <apf/combine_channels.h>

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

Public Member Functions

 CombineChannelsCrossfadeBase (const L &in, Out &out, const Crossfade &fade)
 
void before_the_loop ()
 
void after_the_loop ()
 
- Public Member Functions inherited from apf::CombineChannelsBase< Derived, 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< Derived >
Derived & derived ()
 

Protected Attributes

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< Derived, L, Out >
Out & _out
 
CombineChannelsResult::type _selection
 
bool _accumulate
 

Additional Inherited Members

- Protected Types inherited from apf::CombineChannelsBase< Derived, 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< Derived, 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< Derived >
 ~CRTP ()=default
 Protected destructor to avoid base class pointers. More...
 

Detailed Description

template<typename Derived, typename L, typename Out, typename Crossfade>
class apf::CombineChannelsCrossfadeBase< Derived, L, Out, Crossfade >

Base class for CombineChannelsCrossfade*.

Definition at line 279 of file combine_channels.h.

Constructor & Destructor Documentation

◆ CombineChannelsCrossfadeBase()

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

Definition at line 288 of file combine_channels.h.

Member Function Documentation

◆ before_the_loop()

template<typename Derived , typename L , typename Out , typename Crossfade >
void apf::CombineChannelsCrossfadeBase< Derived, L, Out, Crossfade >::before_the_loop ( )
inline

Definition at line 295 of file combine_channels.h.

◆ after_the_loop()

template<typename Derived , typename L , typename Out , typename Crossfade >
void apf::CombineChannelsCrossfadeBase< Derived, L, Out, Crossfade >::after_the_loop ( )
inline

Definition at line 300 of file combine_channels.h.

Member Data Documentation

◆ _accumulate_fade_in

template<typename Derived , typename L , typename Out , typename Crossfade >
bool apf::CombineChannelsCrossfadeBase< Derived, L, Out, Crossfade >::_accumulate_fade_in
protected

Definition at line 341 of file combine_channels.h.

◆ _accumulate_fade_out

template<typename Derived , typename L , typename Out , typename Crossfade >
bool apf::CombineChannelsCrossfadeBase< Derived, L, Out, Crossfade >::_accumulate_fade_out
protected

Definition at line 341 of file combine_channels.h.

◆ _fade_out_buffer

template<typename Derived , typename L , typename Out , typename Crossfade >
std::vector<T> apf::CombineChannelsCrossfadeBase< Derived, L, Out, Crossfade >::_fade_out_buffer
protected

Definition at line 342 of file combine_channels.h.

◆ _fade_in_buffer

template<typename Derived , typename L , typename Out , typename Crossfade >
std::vector<T> apf::CombineChannelsCrossfadeBase< Derived, L, Out, Crossfade >::_fade_in_buffer
protected

Definition at line 342 of file combine_channels.h.


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