1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
static const fixed yin_threshold_table[] =
{
    ((fixed){(fixed_data)(0.01 * (float)(1 << 18))}),
    ((fixed){(fixed_data)(0.02 * (float)(1 << 18))}),
    ((fixed){(fixed_data)(0.03 * (float)(1 << 18))}),
    ((fixed){(fixed_data)(0.04 * (float)(1 << 18))}),
    ((fixed){(fixed_data)(0.05 * (float)(1 << 18))}),
    ((fixed){(fixed_data)(0.10 * (float)(1 << 18))}),
    ((fixed){(fixed_data)(0.15 * (float)(1 << 18))}),
    ((fixed){(fixed_data)(0.20 * (float)(1 << 18))}),
    ((fixed){(fixed_data)(0.25 * (float)(1 << 18))}),
    ((fixed){(fixed_data)(0.30 * (float)(1 << 18))}),
    ((fixed){(fixed_data)(0.35 * (float)(1 << 18))}),
    ((fixed){(fixed_data)(0.40 * (float)(1 << 18))}),
    ((fixed){(fixed_data)(0.45 * (float)(1 << 18))}),
    ((fixed){(fixed_data)(0.50 * (float)(1 << 18))}),
};


/media/bordel/rockbox/apps/plugins/pitch_detector.c:153: error: initializer element is not constant