fix warning
This commit is contained in:
parent
c638ccf272
commit
0febeb73ac
|
@ -241,7 +241,7 @@ int CSound::process ( jack_nframes_t nframes, void* arg )
|
|||
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 );
|
||||
|
||||
|
@ -250,7 +250,7 @@ int CSound::bufferSizeCallback ( jack_nframes_t nframes, void *arg )
|
|||
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
|
||||
// error message
|
||||
|
|
|
@ -83,8 +83,8 @@ protected:
|
|||
|
||||
// callbacks
|
||||
static int process ( jack_nframes_t nframes, void* arg );
|
||||
static int bufferSizeCallback ( jack_nframes_t nframes, void *arg );
|
||||
static void shutdownCallback ( void *arg );
|
||||
static int bufferSizeCallback ( jack_nframes_t, void *arg );
|
||||
static void shutdownCallback ( void* );
|
||||
jack_client_t* pJackClient;
|
||||
};
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue
Block a user