Comment 0 for bug 433654

Note: this is not a multi-seat setup, but a single seat computer with multiple user accounts.
See attached screenshots for details (I'll probably add more information for this bug tomorrow).

Summary: a first user has a session open, playing sound with Amarok (paused) on a Gnome desktop.
The second user chose "Switch user" in FUSA, then login. The new session doesn't have any sound, and the "Sound Preferences" window only lists "Dummy Output - Stereo" in the Output tab (Screenshot 1). In the hardware tab, nothing appears (Screenshot 2).

When the first user closes Amarok, the second user now has the hardware showing in the Hardware tab (Screenshot 3) but no sound, since the Profile is "Analog Stereo Duplex" (should be Analog Stereo Output"). When the user changes it to the right Profile, sounds works (see also Screenshot 4, compared to Screenshot 1 when no sound was played).

The second user can now play sound, for example a flash video.

Now though, the first user doesn't have any sound when coming back to its session (or more exactly, the only sound he can hear is the flash video being played in the second user's session, even though the users have switched. Any audio application the first user opens shows in Sound preferences>Applications, but doesn't output any sound, and moving the application individual sound sliders only affect the sound being played in session 2.

All that was handled properly in Jaunty and previous Ubuntu releases.

ProblemType: Bug
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: paphro 9493 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xea300000 irq 22'
   Mixer name : 'Realtek ALC889A'
   Components : 'HDA:10ec0885,1458a002,00100101'
   Controls : 38
   Simple ctrls : 21
Date: Sun Sep 20 22:09:30 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: alsa-base 1.0.20+dfsg-1ubuntu4
PackageArchitecture: all
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.34-generic
SourcePackage: alsa-driver
Uname: Linux 2.6.31-10-generic i686