Audio Processing Framework (APF) version 0.5.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
apf::portaudio_policy Class Referenceabstract

interface_policy using PortAudio. More...

#include <apf/portaudio_policy.h>

Public Types

using sample_type = float
 

Public Member Functions

bool activate ()
 
bool deactivate ()
 
unsigned long block_size () const
 
int sample_rate () const
 
int in_channels () const
 
int out_channels () const
 
int get_real_time_priority () const
 

Static Public Member Functions

static std::string device_info ()
 

Protected Member Functions

 portaudio_policy (const parameter_map &p=parameter_map())
 Constructor. More...
 
 ~portaudio_policy ()
 Protected destructor. More...
 

Detailed Description

interface_policy using PortAudio.

See also
MimoProcessor

Definition at line 50 of file portaudio_policy.h.

Member Typedef Documentation

◆ sample_type

using apf::portaudio_policy::sample_type = float

Definition at line 53 of file portaudio_policy.h.

Constructor & Destructor Documentation

◆ portaudio_policy()

apf::portaudio_policy::portaudio_policy ( const parameter_map p = parameter_map())
inlineexplicitprotected

Constructor.

Definition at line 132 of file portaudio_policy.h.

◆ ~portaudio_policy()

apf::portaudio_policy::~portaudio_policy ( )
inlineprotected

Protected destructor.

Definition at line 144 of file portaudio_policy.h.

Member Function Documentation

◆ device_info()

static std::string apf::portaudio_policy::device_info ( )
inlinestatic

Definition at line 66 of file portaudio_policy.h.

◆ activate()

bool apf::portaudio_policy::activate ( )
inline

Definition at line 80 of file portaudio_policy.h.

◆ deactivate()

bool apf::portaudio_policy::deactivate ( )
inline

Definition at line 113 of file portaudio_policy.h.

◆ block_size()

unsigned long apf::portaudio_policy::block_size ( ) const
inline

Definition at line 120 of file portaudio_policy.h.

◆ sample_rate()

int apf::portaudio_policy::sample_rate ( ) const
inline

Definition at line 121 of file portaudio_policy.h.

◆ in_channels()

int apf::portaudio_policy::in_channels ( ) const
inline

Definition at line 123 of file portaudio_policy.h.

◆ out_channels()

int apf::portaudio_policy::out_channels ( ) const
inline

Definition at line 124 of file portaudio_policy.h.

◆ get_real_time_priority()

int apf::portaudio_policy::get_real_time_priority ( ) const
inline

Definition at line 128 of file portaudio_policy.h.


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