[pulseaudio-commits] Branch 'next' - src/pulse

Tanu Kaskinen tanuk at kemper.freedesktop.org
Thu Jun 14 15:42:44 UTC 2018


 src/pulse/stream.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 1a94b1e36fd7f36a6f7e4137d89990dcbfc1177e
Author: Lyndon Brown <jnqnfe at gmail.com>
Date:   Thu Jun 7 03:15:41 2018 +0100

    stream: constify internal functions

diff --git a/src/pulse/stream.c b/src/pulse/stream.c
index 73743cbb..f0c8034a 100644
--- a/src/pulse/stream.c
+++ b/src/pulse/stream.c
@@ -1731,7 +1731,7 @@ pa_operation * pa_stream_drain(pa_stream *s, pa_stream_success_cb_t cb, void *us
     return o;
 }
 
-static pa_usec_t calc_time(pa_stream *s, bool ignore_transport) {
+static pa_usec_t calc_time(const pa_stream *s, bool ignore_transport) {
     pa_usec_t usec;
 
     pa_assert(s);
@@ -2485,7 +2485,7 @@ int pa_stream_get_time(pa_stream *s, pa_usec_t *r_usec) {
     return 0;
 }
 
-static pa_usec_t time_counter_diff(pa_stream *s, pa_usec_t a, pa_usec_t b, int *negative) {
+static pa_usec_t time_counter_diff(const pa_stream *s, pa_usec_t a, pa_usec_t b, int *negative) {
     pa_assert(s);
     pa_assert(PA_REFCNT_VALUE(s) >= 1);
 



More information about the pulseaudio-commits mailing list