[pulseaudio-discuss] Pulseaudio changes volume on source connect

Tanu Kaskinen tanuk at iki.fi
Thu Jan 26 05:19:55 UTC 2017


On Thu, 2017-01-19 at 11:15 -0600, Dean Brundage wrote:
> Hello pulseaudio-discuss,
> 
> I am setting up a small linux computer (C.H.I.P.) to be a bluetooth
> receiver using pulseaudio.  The device is not running X so I am working
> through pactl and configuration files.  Everything is working except when
> my phone connects to the device pulseaudio always sets the sink-input
> volume to 0.

The sink input is the playback stream, but it looks more like the
problem is that the sink (i.e. playback device) volume gets set to
zero. The sink input volume is set to zero as well, but that's probably
just because you have flat volumes enabled, so streams usually show the
same volume as the device. If you'd prefer to have entirely separate
volumes for streams and devices, you can put "flat-volumes = no" to
/etc/pulse/daemon.conf (many people, me included, think that disabling
flat volumes makes things simpler).

Now, why does the sink volume get set to zero? The log shows that
amixer sets the sink volume. The log doesn't show what volume it sets
it to (I think the volume is nowadays logged - is this an old
pulseaudio version?). If the reason for the zero volume is that amixer
sets it so, then this is a problem in your system. Is there some script
running that is automatically setting the volume using amixer?

-- 
Tanu

https://www.patreon.com/tanuk


More information about the pulseaudio-discuss mailing list