nchains.h File Reference

#include <string.h>
#include "defs.h"
#include "interface.h"
#include "client.h"
#include "commands.h"
#include "aio.h"
#include "helper.h"

Go to the source code of this file.

Functions

void nchains_set_muted_state (struct _application *app, short action)
void nchains_set_chain_name (struct _application *app)
void nchains_ai_add (struct _application *app)
void nchains_ao_add (struct _application *app)
void nchains_c_select (struct _application *app)
void nchains_set_volume (struct _application *app)
void nchains_set_panorama (struct _application *app)
void nchains_set_duration (struct _application *app)
void nchains_set_select (struct _application *app)
void nchains_set_playat (struct _application *app)
void nchains_toggle_chcopy (struct _application *app)
void nchains_startstop (struct _application *app)
void nchains_rewind_to_zero (struct _application *app)
unsigned int nchains_ualarm (struct _application *app, unsigned int usecs)
void nchains_catch_alarm (int sig)
void nchains_do_update (int sig)
void nchains_bounce (struct _application *app)
void nchains_update_cs_info (struct _application *app)
void nchains_to_locator_position (struct _application *app, const char *position)
void nchains_add_default_chain (struct _application *app, CHAIN *cc)
void nchains_update_real_length (struct _application *app)
void nchains_fx_window_cur_chain (struct _application *app)


Function Documentation

void nchains_add_default_chain ( struct _application app,
CHAIN cc 
)

Cdds a complete chain with all default/and ready-set chain operators to the chain setup, defined in cc

void nchains_ai_add ( struct _application app  ) 

Provides an input field for an audio input and adds it to the current selected chain.

void nchains_ao_add ( struct _application app  ) 

Provides an input field for an audio output and adds it to the current selected chain.

void nchains_bounce ( struct _application app  ) 

void nchains_c_select ( struct _application app  ) 

Selects the chain under cursor

void nchains_catch_alarm ( int  sig  ) 

A Handler for SIGALRM fired by nchains_ualarm. Updates the current song position.

void nchains_do_update ( int  sig  ) 

Handle SIGWINCH properly.

void nchains_fx_window_cur_chain ( struct _application app  ) 

Displays the fx window for the current chain

void nchains_rewind_to_zero ( struct _application app  ) 

Rewind to zero

void nchains_set_chain_name ( struct _application app  ) 

set the visual name of the chain. the internal name always stays the same (for ex. chain_5). this metadata refers to n-chains.

void nchains_set_duration ( struct _application app  ) 

Sets the duration value of the current chain input

void nchains_set_muted_state ( struct _application app,
short  action 
)

Toggles the muted state of the current and all other chains according to action. Action might be a value of enum __mute_actions and refers to the action to be taken on the current chain (i.e:chain under cursor). Depending on action and current mute state of the selected chain it is either muted or unmuted.

void nchains_set_panorama ( struct _application app  ) 

Switches to panorama setting mode

void nchains_set_playat ( struct _application app  ) 

Set the time offset when the current attached chain input is being played

void nchains_set_select ( struct _application app  ) 

Set the time offset from where the current attached audio input is being played

void nchains_set_volume ( struct _application app  ) 

Switches to the volume setting mode

void nchains_startstop ( struct _application app  ) 

Toggle start or stop.

void nchains_to_locator_position ( struct _application app,
const char *  position 
)

void nchains_toggle_chcopy ( struct _application app  ) 

Toggle chanel copy mode for the current selected chain

unsigned int nchains_ualarm ( struct _application app,
unsigned int  usecs 
)

A microseconds alarm implementation. Fires SIGALRM after usecs microseconds. Active during a running ecasound engine. (start)

void nchains_update_cs_info ( struct _application app  ) 

void nchains_update_real_length ( struct _application app  ) 

Computes the real chain setup length of all the relevant chains (i.e. not muted, not null etc..)


Generated on Wed Sep 9 22:23:17 2009 for N-Chains by  doxygen 1.5.6