mirror of
https://github.com/libretro/pcsx2.git
synced 2024-11-25 02:09:52 +00:00
spu2x: linux compilation fix
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4856 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
9a1793b954
commit
b490282c55
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user