Compiles on Linux again

git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@349 05730e5d-ab1b-0410-a4ac-84af385074fa
This commit is contained in:
Thorvald Natvig 2006-05-31 14:36:12 +00:00
parent a850488ad2
commit 30c2bedb30
2 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ typedef float spx_word32_t;
typedef float spx_float_t;
typedef spx_word32_t spx_mem_t;
/** Speex echo cancellation state. */
struct SpeexEchoState {
struct CloneSpeexEchoState {
int frame_size; /**< Number of samples processed each time */
int window_size;
int M;
@ -145,7 +145,7 @@ void AudioEchoWidget::paintGL() {
if (! ai || ! ai->sesEcho)
return;
SpeexEchoState *st = ai->sesEcho;
CloneSpeexEchoState *st = reinterpret_cast<CloneSpeexEchoState *>(ai->sesEcho);
int N = st->window_size;
int n = N / 2;

View File

@ -29,8 +29,8 @@ win32 {
unix {
SOURCES += GlobalShortcut_unix.cpp TextToSpeech_unix.cpp TrayIcon_unix.cpp
INCLUDEPATH += .. fmod/api/inc /usr/local/include
LIBS += -Lfmod/api/lib -lfmodex -L/usr/local/lib
INCLUDEPATH += fmod/api/inc /usr/local/include ../speex/include
LIBS += -Lfmod/api/lib -lfmodex -L/usr/local/lib -L../speex/lib
}
CONFIG(asio) {