DSP Blockset | ![]() ![]() |
Compute the number of samples of delay introduced by buffering and unbuffering operations
Syntax
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
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.
Block |
Parameter Values |
Buffer |
f = input frame size (f=1 for sample-based mode)n = Buffer size m = Buffer overlap |
Unbuffer |
f = input frame sizen = 1 m = 0 |
See Also
Buffer |
DSP Blockset |
Unbuffer |
DSP Blockset |
![]() | liblinks | Data Type Support | ![]() |