summaryrefslogtreecommitdiff
path: root/src/pulse/stream.h
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2018-05-27 06:00:02 +0100
committerArun Raghavan <arun@arunraghavan.net>2018-06-21 06:30:25 +0530
commitc16b842ac07c238b362e081b8acf50fcfd1adf2c (patch)
tree99b3f600d09a9cf8b95713d667d3662757780d47 /src/pulse/stream.h
parent883421df03d88ef634fd06d6e5dc2faf70e52198 (diff)
downloadpulseaudio-c16b842ac07c238b362e081b8acf50fcfd1adf2c.tar.gz
stream: pa_stream_get_underflow_index: constify
Diffstat (limited to 'src/pulse/stream.h')
-rw-r--r--src/pulse/stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/stream.h b/src/pulse/stream.h
index 4a2efadaf..1c2283545 100644
--- a/src/pulse/stream.h
+++ b/src/pulse/stream.h
@@ -602,7 +602,7 @@ void pa_stream_set_overflow_callback(pa_stream *p, pa_stream_notify_cb_t cb, voi
* known (e.g.\ if no underflow has occurred, or server is older than 1.0).
* Can be used inside the underflow callback to get information about the current underflow.
* (Only for playback streams) \since 1.0 */
-int64_t pa_stream_get_underflow_index(pa_stream *p);
+int64_t pa_stream_get_underflow_index(const pa_stream *p);
/** Set the callback function that is called when a buffer underflow happens. (Only for playback streams) */
void pa_stream_set_underflow_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata);