From c22ef09f1365aff8061d8fbceb2b4fd2815c49af Mon Sep 17 00:00:00 2001 From: byuu <2107894+byuu@users.noreply.github.com> Date: Sun, 23 Feb 2020 20:36:28 +0900 Subject: [PATCH] PulseAudio compilation fix. --- ruby/audio/pulseaudio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby/audio/pulseaudio.cpp b/ruby/audio/pulseaudio.cpp index 05b15075..b900dcc6 100755 --- a/ruby/audio/pulseaudio.cpp +++ b/ruby/audio/pulseaudio.cpp @@ -93,7 +93,7 @@ private: if(!PA_STREAM_IS_GOOD(streamState)) return false; } 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; _bufferSize = attributes->tlength; _offset = 0;