context: pa_context_get_tile_size: constify

This commit is contained in:
Lyndon Brown 2018-06-07 04:03:45 +01:00 committed by Tanu Kaskinen
parent 351731c697
commit 4e3a080d76
2 changed files with 2 additions and 2 deletions

View file

@ -1621,7 +1621,7 @@ void pa_context_rttime_restart(const pa_context *c, pa_time_event *e, pa_usec_t
} }
} }
size_t pa_context_get_tile_size(pa_context *c, const pa_sample_spec *ss) { size_t pa_context_get_tile_size(const pa_context *c, const pa_sample_spec *ss) {
size_t fs, mbs; size_t fs, mbs;
pa_assert(c); pa_assert(c);

View file

@ -280,7 +280,7 @@ void pa_context_rttime_restart(const pa_context *c, pa_time_event *e, pa_usec_t
* supposed to be used in a construct such as * supposed to be used in a construct such as
* pa_context_get_tile_size(pa_stream_get_context(s), * pa_context_get_tile_size(pa_stream_get_context(s),
* pa_stream_get_sample_spec(ss)); \since 0.9.20 */ * pa_stream_get_sample_spec(ss)); \since 0.9.20 */
size_t pa_context_get_tile_size(pa_context *c, const pa_sample_spec *ss); size_t pa_context_get_tile_size(const pa_context *c, const pa_sample_spec *ss);
/** Load the authentication cookie from a file. This function is primarily /** Load the authentication cookie from a file. This function is primarily
* meant for PulseAudio's own tunnel modules, which need to load the cookie * meant for PulseAudio's own tunnel modules, which need to load the cookie