wasapi2: Don't use global volume control object
authorSeungha Yang <seungha@centricular.com>
Wed, 25 Oct 2023 12:37:24 +0000 (21:37 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 31 Oct 2023 10:23:24 +0000 (10:23 +0000)
commitcb6955944fde992749bfe182c67f59bfc4eda5fc
treee503abe63bab29016f93b0d9b60e961a0f36989d
parent1a5a965846ae7ad500f4a210edc5acf8134a08a9
wasapi2: Don't use global volume control object

ISimpleAudioVolume controls volume of corresponding audio session
and there would be only single input/output audio session
in case of share-mode, which means that it controls audio volume of the
process. Instead, use IAudioStreamVolume interface which controls
volume of the stream.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5579>
subprojects/gst-plugins-bad/sys/wasapi2/gstwasapi2ringbuffer.cpp