]> git.0d.be Git - empathy.git/commit
audio input: Switch to stream volumes
authorSjoerd Simons <sjoerd@luon.net>
Mon, 21 May 2012 09:55:25 +0000 (11:55 +0200)
committerSjoerd Simons <sjoerd@luon.net>
Mon, 21 May 2012 11:54:00 +0000 (13:54 +0200)
commit9f1691878cc95951039eb2d7a47b6462569da299
tree7f55e6f36cce45a7a5fd8da0cf567c3095966ca6
parent246b14f2722e6aac0c9744e49edd70594846f004
audio input: Switch to stream volumes

Newer gstreamer & pulseaudio support the stream volume interface for
input as well. Prefer this over using the mixer interface as it's
both simpler and actually does as intended. Besides that the
mixer interface is buggy and seems to not correctly adjust the
current input device if the source was switch to a non-default input.

As an extra put in a volume element to locally enforce the current mute
state. This ensure that whatever happens, if the UI says mute, the
stream is guaranteed to be muted. This prevents awkward situations if
the source element doesn't support stream volumes or the notification
is buggy (like with current pulsesrc in releases).
src/empathy-audio-src.c