]> code.delx.au - pulseaudio/commit
sink,source: Avoid crash by not updating volume on shutdown
authorDavid Henningsson <david.henningsson@canonical.com>
Mon, 12 Sep 2011 10:57:20 +0000 (12:57 +0200)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Wed, 14 Sep 2011 10:17:17 +0000 (15:47 +0530)
commitf8624a7876444ebb5587c1f1bc821ab5c3a2b639
tree466d74d68bb0f4be55cd12d128d300724e2bf6d5
parent38be4a2d440ce51750b96727b638f947f75d69b6
sink,source: Avoid crash by not updating volume on shutdown

Sometimes the ALSA mixer can be modified during a point at shutdown
which causes a race condition trying to update the volume of an
unlinked sink.

Includes typo fix by our Chief Typo Spotter, Colin, and a clarifying
comment by me.

BugLink: http://bugs.launchpad.net/bugs/841968
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/modules/alsa/alsa-sink.c
src/modules/alsa/alsa-source.c
src/pulsecore/sink.c
src/pulsecore/source.c