Logo Search packages:      
Sourcecode: ecasound2.2 version File versions

CHAIN Class Reference

#include <eca-chain.h>

Inheritance diagram for CHAIN:


List of all members.

Detailed Description

Class representing an abstract audio signal chain.

Definition at line 17 of file eca-chain.h.

Public Member Functions

void add_chain_operator (CHAIN_OPERATOR *chainop)
void add_controller (GENERIC_CONTROLLER *gcontroller)
std::string chain_operator_name (void) const
std::string chain_operator_parameter_name (void) const
std::string chain_operator_to_string (CHAIN_OPERATOR *chainop) const
void clear (void)
void connect_input (int input)
void connect_output (int output)
int connected_input (void) const
int connected_output (void) const
std::string controller_name (void) const
std::string controller_to_string (GENERIC_CONTROLLER *gctrl) const
void controller_update (void)
void disconnect_buffer (void)
void disconnect_input (void)
void disconnect_output (void)
const CHAIN_OPERATORget_chain_operator (int index) const
const GENERIC_CONTROLLERget_controller (int index) const
CHAIN_OPERATOR::parameter_t get_parameter (void) const
const CHAIN_OPERATORget_selected_chain_operator (void) const
const GENERIC_CONTROLLERget_selected_controller (void) const
void init (SAMPLE_BUFFER *sbuf=0, int in_channels=0, int out_channels=0)
bool is_initialized (void) const
bool is_muted (void) const
bool is_processing (void) const
bool is_valid (void) const
void name (const std::string &c)
std::string name (void) const
int number_of_chain_operator_parameters (void) const
int number_of_chain_operators (void) const
int number_of_controllers (void) const
std::string operator_parameters_to_string (const OPERATOR *chainop) const
void process (void)
void refresh_parameters (void)
void release (void)
void remove_chain_operator (void)
void remove_controller (void)
void select_chain_operator (int index)
void select_chain_operator_parameter (int index)
void select_controller (int index)
void select_controller_parameter (int index)
int selected_chain_operator (void) const
void selected_chain_operator_as_target (void)
int selected_chain_operator_parameter (void) const
int selected_controller (void) const
void selected_controller_as_target (void)
int selected_controller_parameter (void) const
OPERATORselected_target (void) const
void set_parameter (CHAIN_OPERATOR::parameter_t value)
std::string to_string (void) const
void toggle_muting (bool v)
void toggle_processing (bool v)
Public functions for getting length information

SAMPLE_SPECS::sample_pos_t length_in_samples (void) const
int length_in_seconds (void) const
double length_in_seconds_exact (void) const
bool length_set (void) const
Public utility functions

bool out_position (void) const
Public functions for getting position information

SAMPLE_SPECS::sample_pos_t position_in_samples (void) const
int position_in_seconds (void) const
double position_in_seconds_exact (void) const
Public functions for getting audio format information

SAMPLE_SPECS::sample_rate_t samples_per_second (void) const
Public functions for setting position (with action)

void seek_first (void)
void seek_last (void)
void seek_position_in_samples (SAMPLE_SPECS::sample_pos_t pos_in_samples)
void seek_position_in_samples_advance (SAMPLE_SPECS::sample_pos_t pos_in_samples)
void seek_position_in_seconds (double pos_in_seconds)
Functions implemented from ECA_AUDIO_POSITION

virtual void seek_position (void)
Functions implemented from ECA_SAMPLERATE_AWARE

virtual void set_samples_per_second (SAMPLE_SPECS::sample_rate_t v)

Protected Member Functions

Protected functions for setting position (without action)

void change_position_in_samples (SAMPLE_SPECS::sample_pos_t pos)
void change_position_in_seconds (double pos_in_seconds)
void set_position_in_samples (SAMPLE_SPECS::sample_pos_t pos)
void set_position_in_seconds (double pos_in_seconds)
void set_position_in_seconds (int pos_in_seconds)
Protected functions for setting length

void extend_position (void)
void set_length_in_samples (SAMPLE_SPECS::sample_pos_t pos)
void set_length_in_seconds (double pos_in_seconds)
void set_length_in_seconds (int pos_in_seconds)

Private Attributes

std::string chainname_rep
std::vector< CHAIN_OPERATOR * > chainops_rep
std::vector< GENERIC_CONTROLLER * > gcontrollers_rep
int in_channels_rep
bool initialized_rep
int input_id_rep
bool muted_rep
int out_channels_rep
int output_id_rep
int selected_chainop_number_rep
int selected_chainop_parameter_rep
int selected_controller_number_rep
int selected_controller_parameter_rep
bool sfx_rep

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

Generated by  Doxygen 1.6.0   Back to index