diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-10-28 23:47:21 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-11-11 05:13:28 +0100 |
commit | 0c31723a8b4428b518a0bb60e3140a30fdec318f (patch) | |
tree | 370af75e82bf2aae2f2d7531db973349d411567d | |
parent | 84e77cb13d71a41a67a78ac6ec4354d0cb9324db (diff) |
protocol-native: declare that user configured volumes are always absolute
-rw-r--r-- | src/pulsecore/protocol-native.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pulsecore/protocol-native.c b/src/pulsecore/protocol-native.c index d06dd4eb..b7471c0a 100644 --- a/src/pulsecore/protocol-native.c +++ b/src/pulsecore/protocol-native.c @@ -1047,8 +1047,10 @@ static playback_stream* playback_stream_new( data.sink = sink; pa_sink_input_new_data_set_sample_spec(&data, ss); pa_sink_input_new_data_set_channel_map(&data, map); - if (volume) + if (volume) { pa_sink_input_new_data_set_volume(&data, volume); + data.volume_is_absolute = TRUE; + } if (muted_set) pa_sink_input_new_data_set_muted(&data, muted); data.sync_base = ssync ? ssync->sink_input : NULL; |