mirror of
https://github.com/holub/mame
synced 2025-06-06 21:03:47 +03:00
fix compile on GCC 4.4 on old Ubuntu (nw)
This commit is contained in:
parent
2923224b51
commit
f23ff0f6f0
@ -3697,7 +3697,7 @@ static PaError PaAlsaStream_GetAvailableFrames( PaAlsaStream *self, int queryCap
|
||||
*available, int *xrunOccurred )
|
||||
{
|
||||
PaError result = paNoError;
|
||||
unsigned long captureFrames, playbackFrames;
|
||||
unsigned long captureFrames = 0, playbackFrames = 0;
|
||||
*xrunOccurred = 0;
|
||||
|
||||
assert( queryCapture || queryPlayback );
|
||||
@ -4579,7 +4579,7 @@ error:
|
||||
|
||||
PaError PaAlsa_GetStreamInputCard( PaStream* s, int* card )
|
||||
{
|
||||
PaAlsaStream *stream;
|
||||
PaAlsaStream *stream = NULL;
|
||||
PaError result = paNoError;
|
||||
snd_pcm_info_t* pcmInfo;
|
||||
|
||||
@ -4598,7 +4598,7 @@ error:
|
||||
|
||||
PaError PaAlsa_GetStreamOutputCard( PaStream* s, int* card )
|
||||
{
|
||||
PaAlsaStream *stream;
|
||||
PaAlsaStream *stream = NULL;
|
||||
PaError result = paNoError;
|
||||
snd_pcm_info_t* pcmInfo;
|
||||
|
||||
|
@ -637,7 +637,7 @@ project "portaudio"
|
||||
"-Wno-sometimes-uninitialized",
|
||||
}
|
||||
else
|
||||
if (version >= 40400) then
|
||||
if (version >= 40600) then
|
||||
buildoptions_c {
|
||||
"-Wno-unused-but-set-variable",
|
||||
"-Wno-maybe-uninitialized",
|
||||
|
Loading…
Reference in New Issue
Block a user