mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
stream: pa_stream_get_format_info: constify
This commit is contained in:
parent
c16b842ac0
commit
6f2a70191d
2 changed files with 2 additions and 2 deletions
|
|
@ -2570,7 +2570,7 @@ const pa_channel_map* pa_stream_get_channel_map(pa_stream *s) {
|
|||
return &s->channel_map;
|
||||
}
|
||||
|
||||
const pa_format_info* pa_stream_get_format_info(pa_stream *s) {
|
||||
const pa_format_info* pa_stream_get_format_info(const pa_stream *s) {
|
||||
pa_assert(s);
|
||||
pa_assert(PA_REFCNT_VALUE(s) >= 1);
|
||||
|
||||
|
|
|
|||
|
|
@ -751,7 +751,7 @@ const pa_sample_spec* pa_stream_get_sample_spec(pa_stream *s);
|
|||
const pa_channel_map* pa_stream_get_channel_map(pa_stream *s);
|
||||
|
||||
/** Return a pointer to the stream's format. \since 1.0 */
|
||||
const pa_format_info* pa_stream_get_format_info(pa_stream *s);
|
||||
const pa_format_info* pa_stream_get_format_info(const pa_stream *s);
|
||||
|
||||
/** Return the per-stream server-side buffer metrics of the
|
||||
* stream. Only valid after the stream has been connected successfully
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue