#include <gr_sync_interpolator.h>
Go to the source code of this file.
Classes | |
class | cvsd_decode_bs |
This block performs CVSD audio decoding. Its design and implementation is modeled after the CVSD encoder/decoder specifications defined in the Bluetooth standard. More... | |
Functions | |
cvsd_decode_bs_sptr | cvsd_make_decode_bs (short min_step=10, short max_step=1280, double step_decay=0.9990234375, double accum_decay=0.96875, int K=32, int J=4, short pos_accum_max=32767, short neg_accum_max=-32767) |
Constructor parameters to initialize the CVSD decoder. The default values are modeled after the Bluetooth standard and should not be changed, except by an advanced user. |
cvsd_decode_bs_sptr cvsd_make_decode_bs | ( | short | min_step = 10 , |
|
short | max_step = 1280 , |
|||
double | step_decay = 0.9990234375 , |
|||
double | accum_decay = 0.96875 , |
|||
int | K = 32 , |
|||
int | J = 4 , |
|||
short | pos_accum_max = 32767 , |
|||
short | neg_accum_max = -32767 | |||
) |
Constructor parameters to initialize the CVSD decoder. The default values are modeled after the Bluetooth standard and should not be changed, except by an advanced user.
min_step | Minimum step size used to update the internal reference. Default: "10" | |
max_step | Maximum step size used to update the internal reference. Default: "1280" | |
step_decay | Decay factor applied to step size when there is not a run of J output 1s or 0s. Default: "0.9990234375" (i.e. 1-1/1024) | |
accum_decay | Decay factor applied to the internal reference during every interation of the codec. Default: "0.96875" (i.e. 1-1/32) | |
K; | Size of shift register; the number of output bits remembered by codec (must be less or equal to 32). Default: "32" | |
J; | Number of bits in the shift register that are equal; i.e. the size of a run of 1s, 0s. Default: "4" | |
pos_accum_max | Maximum integer value allowed for the internal reference. Default: "32767" (2^15 - 1 or MAXSHORT) | |
neg_accum_max | Minimum integer value allowed for the internal reference. Default: "-32767" (-2^15 + 1 or MINSHORT+1) |