fix O2 optimization distorsions

This commit is contained in:
okertanov
2011-04-16 00:45:54 +08:00
committed by mag-
parent 07620f9eed
commit 1a2be8a4fb
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
PKGFLAGS:=$(shell pkg-config --cflags --libs openssl ao)
CFLAGS:=-O0
CFLAGS:=-O2
LDFLAGS:=-lm -lpthread
PAUFLAGS:=-lportaudio
+2
View File
@@ -628,6 +628,8 @@ int stuff_buffer(double playback_rate, short *inptr, short *outptr) {
*outptr++ = dithered_vol(*inptr++);
}
}
return stuffsamp;
}
void *audio_thread_func(void *arg) {