if(FLAC__lpc_max_residual_bps(bps, subframe->qlp_coeff, order, subframe->quantization_level) <= 32 &&
FLAC__lpc_max_prediction_before_shift_bps(bps, subframe->qlp_coeff, order) <= 32)
FLAC__lpc_restore_signal(decoder->private_->residual[channel], decoder->private_->frame.header.blocksize-order, subframe->qlp_coeff, order, subframe->quantization_level, decoder->private_->output[channel]+order);
else
FLAC__lpc_restore_signal_wide(decoder->private_->residual[channel], decoder->private_->frame.header.blocksize-order, subframe->qlp_coeff, order, subframe->quantization_level, decoder->private_->output[channel]+order);
Values working
Analysis pass 1 output is file /home/johnny/playAlong/test00.anal
Warmup FFFFFFFFFFFF8981 -30335 Location 2359 9049
Warmup FFFFFFFFFFFF8E74 -29068 Location 235C 9052
Warmup FFFFFFFFFFFF92E9 -27927 Location 235F 9055
Warmup FFFFFFFFFFFF9546 -27322 Location 2362 9058
Warmup FFFFFFFFFFFF91DF -28193 Location 2365 9061
Warmup FFFFFFFFFFFF8EA2 -29022 Location 2368 9064
Warmup FFFFFFFFFFFF8661 -31135 Location 236B 9067
Warmup FFFFFFFFFFFF7B71 -33935 Location 236E 9070
Memory Dump 8189FFFF 748EFFFF E992FFFF 4695FFFF DF91FFFF A28EFFFF 6186FFFF 717BFFFF
sum FLAC__int64 -290936360
0 Frame at 2352 , 9042 Header Value = 78
Bit Read value = 14 or hex E
Bit Read value = 13 or hex D
Bit Read value = 7653 or hex 1DE5
Bit Read value = 11816 or hex 2E28
Bit Read value = -7456 or hex FFFFE2E0
Bit Read value = -12300 or hex FFFFCFF4
Bit Read value = 3095 or hex C17
Bit Read value = 8471 or hex 2117
Bit Read value = 370 or hex 172
Bit Read value = -3474 or hex FFFFF26E
Bit Read value = 0 or hex 0
Bit Read value = 0 or hex 0
Bit Read value = 10 or hex A
residual FFFFFFFFFFFFFB81
First Sample
Warmup FFFFFFFFFFFF8981 -30335 Location 2359 9049
Warmup FFFFFFFFFFFF8E74 -29068 Location 235C 9052
Warmup FFFFFFFFFFFF92E9 -27927 Location 235F 9055
Warmup FFFFFFFFFFFF9546 -27322 Location 2362 9058
Warmup FFFFFFFFFFFF91DF -28193 Location 2365 9061
Warmup FFFFFFFFFFFF8EA2 -29022 Location 2368 9064
Warmup FFFFFFFFFFFF8661 -31135 Location 236B 9067
Warmup FFFFFFFFFFFF7B71 -33935 Location 236E 9070
Memory Dump 8189FFFF 748EFFFF E992FFFF 4695FFFF DF91FFFF A28EFFFF 6186FFFF 717BFFFF
sum FLAC__int64 -290936360 0xffffffffeea8a9d8 Line 1259 lpc.c
sum int64_t -36666 0xffffffffffff70c6 lpc.c 1264 shift right quantization
sum int64_t -36666
Second Sample