User`s guide
rebuffer_delay
6-8
6rebuffer_delay
Purpose Compute the number of samples of delay introduced by buffering and
unbuffering operations.
Syntax d = rebuffer_delay(f,n,m)
d = rebuffer_delay(f,n,m,'singletasking')
Description d = rebuffer_delay(f,n,m) returns the delay (in samples) introduced by the
buffering and unbuffering blocks in multitasking operations, where
f is the
input frame size,
n is the Buffer size parameter setting, and m is the Buffer
overlap
parameter setting.
The blocks whose delay can be computed by
rebuffer_delay are:
•Buffer
•Unbuffer
d = rebuffer_delay(f,n,m,'singletasking') returns the delay (in
samples) introduced by these blocks in single-tasking operations.
The table below shows the appropriate
rebuffer_delay parameter values to
use in computing delay for the two blocks.
See Also
Block Parameter Values
Buffer f=input frame size (f=1 for sample-based mode)
n=Buffer size
m=Buffer overlap
Unbuffer f=input frame size
n=1
m=0
Buffer DSP Blockset
Unbuffer DSP Blockset