libdca-llvm-gcc.patch
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:1k
源码类别:

midi

开发平台:

Unix_Linux

  1. Index: libdca/parse.c
  2. ===================================================================
  3. --- libdca/parse.c (revision 90)
  4. +++ libdca/parse.c (working copy)
  5. @@ -1193,11 +1193,14 @@
  6.          for (k=0;k<16;k++)
  7.          {
  8.              B[k] = 0.0;
  9. -            for (i=0;i<16;i++)
  10. +
  11. +            B[k]+=(raXin[0])*state->cos_mod[j++];
  12. +
  13. +            for (i=1;i<16;i++)
  14.              {
  15. -                if(i>0) B[k]+=(raXin[2*i]+raXin[2*i-1])*state->cos_mod[j++];
  16. -                else B[k]+=(raXin[2*i])*state->cos_mod[j++];
  17. +                B[k]+=(raXin[2*i]+raXin[2*i-1])*state->cos_mod[j++];
  18.              }
  19. +
  20.              SUM[k]=A[k]+B[k];
  21.              DIFF[k]=A[k]-B[k];
  22.          }