mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
client: make volume struct const
This commit is contained in:
parent
5efb07281d
commit
e7ca058427
2 changed files with 2 additions and 2 deletions
|
|
@ -1172,7 +1172,7 @@ int pa_stream_connect_playback(
|
||||||
const char *dev,
|
const char *dev,
|
||||||
const pa_buffer_attr *attr,
|
const pa_buffer_attr *attr,
|
||||||
pa_stream_flags_t flags,
|
pa_stream_flags_t flags,
|
||||||
pa_cvolume *volume,
|
const pa_cvolume *volume,
|
||||||
pa_stream *sync_stream) {
|
pa_stream *sync_stream) {
|
||||||
|
|
||||||
pa_assert(s);
|
pa_assert(s);
|
||||||
|
|
|
||||||
|
|
@ -405,7 +405,7 @@ int pa_stream_connect_playback(
|
||||||
const char *dev /**< Name of the sink to connect to, or NULL for default */ ,
|
const char *dev /**< Name of the sink to connect to, or NULL for default */ ,
|
||||||
const pa_buffer_attr *attr /**< Buffering attributes, or NULL for default */,
|
const pa_buffer_attr *attr /**< Buffering attributes, or NULL for default */,
|
||||||
pa_stream_flags_t flags /**< Additional flags, or 0 for default */,
|
pa_stream_flags_t flags /**< Additional flags, or 0 for default */,
|
||||||
pa_cvolume *volume /**< Initial volume, or NULL for default */,
|
const pa_cvolume *volume /**< Initial volume, or NULL for default */,
|
||||||
pa_stream *sync_stream /**< Synchronize this stream with the specified one, or NULL for a standalone stream*/);
|
pa_stream *sync_stream /**< Synchronize this stream with the specified one, or NULL for a standalone stream*/);
|
||||||
|
|
||||||
/** Connect the stream to a source */
|
/** Connect the stream to a source */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue