PulseAudio compilation fix.

This commit is contained in:
byuu 2020-02-23 20:36:28 +09:00
parent 2223a843c9
commit c22ef09f13
1 changed files with 1 additions and 1 deletions

View File

@ -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;