I brought this up with Sun support back in mid-2009. It's a long-known issue since Sun Ray still uses the old SADA infrastructure, but doesn't implement the mixer(7I) interface (CR 4860451 RFE: want audio mixer functionality (was: sound conflicts with sunphone and other apps)). Sun Rays can do mixing in hardware, so the workaround I've been using on Solaris 10 is this: ********** #!/bin/ksh # # Allow multiple Sun Ray audio devices. # Sun Ray team has indicated to us that this will be fixed in a future release, but that this is the current workaround. # # Based on a script supplied by Kent Peacock at Sun. # --William Yang 2008/07/25 #
#Only if this is a Sun Ray session. if [ -n "$SUN_SUNRAY_TOKEN" ] then trap "pkill -f utaudio.*$$" 0 1 2 15 AUDIODEV=`/opt/SUNWut/bin/utaudio $$` UTAUDIODEV=$AUDIODEV fi "$@" ********** You'll need to prefix all the programs you launch with this; i.e. "utaudiowrap /usr/bin/firefox". We actually made this transparent for users by adding a /usr/local/bin_override to our system PATHs and added one-liner bash scripts for the handful of programs we have that produce audio (browsers and media players). For example, the "firefox" one has: utaudiowrap /usr/bin/firefox "$@" and the "vlc" one has: utaudiowrap /usr/local/bin/vlc "$@" Unfortunately, in part of my communication with Sun support back in mid-2009, I was told that there weren't plans to implement the mixer interface because of the expected transition to OpenSolaris and its new OSS/Boomer framework, but I guess that hasn't taken place or been released yet (CR 6886780 Integrate Sun Ray audio framework with audio framework in OpenSolaris). Hope this helps. William Yang > -----Original Message----- > From: sunray-users-boun...@filibeto.org [mailto:sunray-users- > boun...@filibeto.org] On Behalf Of marty scholes > Sent: Wednesday, February 09, 2011 9:58 PM > To: sunray-users@filibeto.org > Subject: [SunRay-Users] Multiple audio clients in a session, only one > makes sound > > I apologize if this is covered elsewhere but I couldn't find it discussed. > > The software is SRS 5.1 on OSol 128a. All clients are local, a blend of > 102 and > 1G models. > > The "desktop replacement" experience is fairly solid, until multiple > programs > try to produce audio. I notice that opening a Windows machine with > VirtualBox > will cause that Windows instance to produce sound, but other programs are > silent. > > As I write this, I was trying to watch a training video for my job in > Firefox > and it was silent. I have three VirtualBox sessions up and am not > entirely sure > which one has exclusive access to the audio device. > > Is there a way to mix the outputs from the various programs? This is kind > of > annoying in an otherwise nice environment. > > Thanks, > Marty > > > > > _______________________________________________ > SunRay-Users mailing list > SunRay-Users@filibeto.org > http://www.filibeto.org/mailman/listinfo/sunray-users _______________________________________________ SunRay-Users mailing list SunRay-Users@filibeto.org http://www.filibeto.org/mailman/listinfo/sunray-users