audio: pa: Set volume of recording stream instead of recording device
authorPeter Krempa <pkrempa@redhat.com>
Wed, 11 May 2016 10:31:04 +0000 (12:31 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 3 Jun 2016 09:13:38 +0000 (11:13 +0200)
commite58ff62d589fe147f4e73ba28a0383fb80600be6
treed91b29500319578781c62fd2e0dfd874ef1d0ff7
parent2c107d7684f9e3c4db4780d0756bbf35b06aec07
audio: pa: Set volume of recording stream instead of recording device

Since pulseaudio 1.0 it's possible to set the individual stream volume
rather than setting the device volume. With this, setting hardware mixer
of a emulated sound card doesn't mess up the volume configuration of the
host.

A side effect is that this limits compatible pulseaudio version to 1.0
which was released on 2011-09-27.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 78853815be2069971b89b3a2e3181837064dd8f3.1462962512.git.pkrempa@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/paaudio.c
configure