mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-07 16:46:58 +02:00
PulseAudio compilation fix.
This commit is contained in:
@@ -93,7 +93,7 @@ private:
|
|||||||
if(!PA_STREAM_IS_GOOD(streamState)) return false;
|
if(!PA_STREAM_IS_GOOD(streamState)) return false;
|
||||||
} while(streamState != PA_STREAM_READY);
|
} while(streamState != PA_STREAM_READY);
|
||||||
|
|
||||||
pa_buffer_attr* attributes = pa_stream_get_buffer_attr(_stream);
|
const pa_buffer_attr* attributes = pa_stream_get_buffer_attr(_stream);
|
||||||
_period = attributes->minreq;
|
_period = attributes->minreq;
|
||||||
_bufferSize = attributes->tlength;
|
_bufferSize = attributes->tlength;
|
||||||
_offset = 0;
|
_offset = 0;
|
||||||
|
Reference in New Issue
Block a user