fix warning

This commit is contained in:
Volker Fischer 2010-04-11 07:55:06 +00:00
parent c638ccf272
commit 0febeb73ac
3 changed files with 59 additions and 60 deletions

View File

@ -241,7 +241,7 @@ int CSound::process ( jack_nframes_t nframes, void* arg )
return 0; // zero on success, non-zero on error return 0; // zero on success, non-zero on error
} }
int CSound::bufferSizeCallback ( jack_nframes_t nframes, void *arg ) int CSound::bufferSizeCallback ( jack_nframes_t, void *arg )
{ {
CSound* pSound = reinterpret_cast<CSound*> ( arg ); CSound* pSound = reinterpret_cast<CSound*> ( arg );
@ -250,7 +250,7 @@ int CSound::bufferSizeCallback ( jack_nframes_t nframes, void *arg )
return 0; // zero on success, non-zero on error return 0; // zero on success, non-zero on error
} }
void CSound::shutdownCallback ( void *arg ) void CSound::shutdownCallback ( void* )
{ {
// without a Jack server, our software makes no sense to run, throw // without a Jack server, our software makes no sense to run, throw
// error message // error message

View File

@ -83,8 +83,8 @@ protected:
// callbacks // callbacks
static int process ( jack_nframes_t nframes, void* arg ); static int process ( jack_nframes_t nframes, void* arg );
static int bufferSizeCallback ( jack_nframes_t nframes, void *arg ); static int bufferSizeCallback ( jack_nframes_t, void *arg );
static void shutdownCallback ( void *arg ); static void shutdownCallback ( void* );
jack_client_t* pJackClient; jack_client_t* pJackClient;
}; };
#else #else

View File

@ -67,7 +67,6 @@ HEADERS += src/buffer.h \
src/chatdlg.h \ src/chatdlg.h \
src/llconclientdlg.h \ src/llconclientdlg.h \
src/clientsettingsdlg.h \ src/clientsettingsdlg.h \
libs/celt/ecintrin.h \
libs/celt/celt.h \ libs/celt/celt.h \
libs/celt/celt_types.h \ libs/celt/celt_types.h \
libs/celt/celt_header.h \ libs/celt/celt_header.h \