Only call pa_cvolme set on stream creation if volume explicitly set.
Streams without a custom volume set use suitable volume selected by the PulseAudio server. This is usually the correct choice, since then stream-restore module can apply old volume to the stream. Also with Sailfish explicitly setting the volume to streams breaks system volume. Change-Id: I75f5bf4e7aaafb4bd55510f5ac4ddf03767d494b Done-with: Juho Hämäläinen <juho.hamalainen@tieto.com> Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
This commit is contained in:
committed by
Robin Burchell
parent
1c5ea9561a
commit
5f33d7bea3
@@ -142,6 +142,7 @@ private:
|
||||
QString m_category;
|
||||
|
||||
qreal m_volume;
|
||||
bool m_customVolumeRequired;
|
||||
pa_cvolume m_chVolume;
|
||||
pa_sample_spec m_spec;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user