if(alpha <= 0.0f) alpha = 0.0f;
float ialpha = 1.0f - alpha;
- __DECL_ALIGNED(16) float tmp_v[samples * 2]; // 2ch stereo
- __DECL_ALIGNED(16) float tmp_h[samples * 2];
+ __DECL_ALIGNED(16) float tmp_v[samples * 2 + 4]; // 2ch stereo
+ __DECL_ALIGNED(16) float tmp_h[samples * 2 + 4];
for(int i = 0; i < (samples * 2); i ++) {
tmp_h[i] = (float)(src[i]);
}
if(alpha <= 0.0f) alpha = 0.0f;
float ialpha = 1.0f - alpha;
- __DECL_ALIGNED(16) float tmp_v[samples * 2]; // 2ch stereo
- __DECL_ALIGNED(16) float tmp_h[samples * 2];
+ __DECL_ALIGNED(16) float tmp_v[samples * 2 + 4]; // 2ch stereo
+ __DECL_ALIGNED(16) float tmp_h[samples * 2 + 4];
for(int i = 0; i < (samples * 2); i++) {
tmp_h[i] = (float)(src[i]);