SPRAAK
|
Subselect frames. More...
Functions | |
void | spr_subsel_fr_free (SprSspInfo *Info) |
int | spr_subsel_fr_setup (SprSspInfo *Info, const char **descript, void *aux_info) |
int | spr_subsel_fr_process (SprSspInfo *Info, const void *frame_in, void *frame_out) |
void | spr_subsel_fr_reset (SprSspInfo *Info, SprSspStatus *action) |
Subselect frames.
Subselect frames. Sub-selection can be based on the followin criteria:
If multiple selection criteria are specified, they are applied in the order they are listed above.
[subsel_fr] | |
---|---|
event <copy/move> <buf_name> | |
Specify an event buffer, i.e. an external trigger that marks frames a being OK for output (the rest is skipped). | |
sample <down>(1) [up](1) [v0](0) | |
Do fixed rate sub-sampling (<up> must be <= <down>). A counter (with <v0> as initial value) is incremented with the <up> value for each incomming frame. As long as the value of the counter is smaller than <down>, the frames are skipped, else the frame is output and the counter is decremented by the value <down>. | |
iframe <ndx>(-2) | |
Select a specific frame. (-1) means the last frame. | |
multi_spkr <copy/move> <buf_name> | |
Do the sub-selection on a speaker base. | |
history <hist_len> | |
Limit the history length to <hist_len> (is infinity otherwise). |