diff options
| author | Lennart Poettering <lennart@poettering.net> | 2009-07-24 20:20:34 +0200 | 
|---|---|---|
| committer | Lennart Poettering <lennart@poettering.net> | 2009-07-24 20:20:34 +0200 | 
| commit | e7ca058427e795b9c2b436c4a819e8d8354ee9de (patch) | |
| tree | 5386ea9e017d3c6f3c5738dde06801a3e7b714b2 | |
| parent | 5efb07281d5be1cddaed5b0610325fedd7f599ec (diff) | |
client: make volume struct const
| -rw-r--r-- | src/pulse/stream.c | 2 | ||||
| -rw-r--r-- | src/pulse/stream.h | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/src/pulse/stream.c b/src/pulse/stream.c index a22816ae..bbd01499 100644 --- a/src/pulse/stream.c +++ b/src/pulse/stream.c @@ -1172,7 +1172,7 @@ int pa_stream_connect_playback(          const char *dev,          const pa_buffer_attr *attr,          pa_stream_flags_t flags, -        pa_cvolume *volume, +        const pa_cvolume *volume,          pa_stream *sync_stream) {      pa_assert(s); diff --git a/src/pulse/stream.h b/src/pulse/stream.h index fecc5870..eeffc0c9 100644 --- a/src/pulse/stream.h +++ b/src/pulse/stream.h @@ -405,7 +405,7 @@ int pa_stream_connect_playback(          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 */,          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*/);  /** Connect the stream to a source */ | 
