mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
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:
parent
a850488ad2
commit
30c2bedb30
@ -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;
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user