spu2x: linux compilation fix

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4856 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut@gmail.com 2011-08-08 17:49:59 +00:00
parent 9a1793b954
commit b490282c55
1 changed files with 2 additions and 4 deletions

View File

@ -190,11 +190,7 @@ public:
err = Pa_OpenDefaultStream( &stream,
0, 2, paInt32, 48000,
SndOutPacketSize,
#ifndef __LINUX__
PaCallback,
#else
PaLinuxCallback,
#endif
NULL );
}
if( err != paNoError )
@ -571,9 +567,11 @@ int PaCallback( const void *inputBuffer, void *outputBuffer,
return PA.ActualPaCallback(inputBuffer,outputBuffer,framesPerBuffer,timeInfo,statusFlags,userData);
}
#ifdef WIN32
BOOL CALLBACK Portaudio::ConfigProc(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM lParam)
{
return PA._ConfigProc( hWnd, uMsg, wParam, lParam );
}
#endif
SndOutModule *PortaudioOut = &PA;