mirror of https://github.com/bsnes-emu/bsnes.git
PulseAudio compilation fix.
This commit is contained in:
parent
2223a843c9
commit
c22ef09f13
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue