/programy/C/ix86/SID/src/Makefile |
---|
77,9 → 77,9 |
AWK = gawk |
CC = gcc |
CCDEPMODE = depmode=gcc3 |
CFLAGS = -g -O2 |
CFLAGS = -Wall -O4 -ffast-math -DPENTIUM -Wall |
CPP = gcc -E |
CPPFLAGS = -Wall -O4 -ffast-math -DPENTIUM -Wall |
CPPFLAGS = |
CXX = g++ |
CXXCPP = g++ -E |
CXXDEPMODE = depmode=gcc3 |
101,7 → 101,7 |
INSTALL_PROGRAM = ${INSTALL} |
INSTALL_SCRIPT = ${INSTALL} |
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s |
LDFLAGS = -lfftw3 -lm |
LDFLAGS = -lfftw3 -lm |
LIBOBJS = |
LIBS = |
LIBTOOL = $(SHELL) $(top_builddir)/libtool |
/programy/C/ix86/SID/src/sidd.c |
---|
438,8 → 438,8 |
c->powspec[ 0] = 0.0; // Zero the DC component |
for( i=1; i<BINS; i++) |
{ |
double t1 = c->fft_data[i,0]; |
double t2 = c->fft_data[i,1]; |
double t1 = c->fft_data[i][0]; |
double t2 = c->fft_data[i][1]; |
c->powspec[ i] = t1*t1 + t2*t2; |
} |