stream: pa_stream_[writable|readable]_size: constify

This commit is contained in:
Lyndon Brown 2018-05-27 05:57:52 +01:00 committed by Arun Raghavan
parent d1f708ecfc
commit 883421df03
2 changed files with 4 additions and 4 deletions

View file

@ -566,12 +566,12 @@ int pa_stream_drop(pa_stream *p);
*
* (size_t) -1 is returned on error.
*/
size_t pa_stream_writable_size(pa_stream *p);
size_t pa_stream_writable_size(const pa_stream *p);
/** Return the number of bytes that may be read using pa_stream_peek().
*
* (size_t) -1 is returned on error. */
size_t pa_stream_readable_size(pa_stream *p);
size_t pa_stream_readable_size(const pa_stream *p);
/** Drain a playback stream. Use this for notification when the
* playback buffer is empty after playing all the audio in the buffer.