mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-18 08:56:40 -05:00
stream: pa_stream_[writable|readable]_size: constify
This commit is contained in:
parent
d1f708ecfc
commit
883421df03
2 changed files with 4 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue