Subject: Re: [vserver] Sound devices under vservers?
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Sat, 10 Sep 2016 20:31:33 +0200

On Sat, Sep 10, 2016 at 08:26:20PM +0200, Tor Rune Skoglund wrote:
> Hi Sirs,

[related stuff zapped :]

> Although unrelated to the original question, how would you
> suggest to share and/or prioritize/select sound output from
> potentially a range of guests (or other sources) on the host?
> Giving /dev access to each guest would probably just work for
> the guest that first grabs the device ---- or maybe all sound
> just would be mixed together? - I have no idea!

> aRts, Phonon, PulseAudio, virtual sound device that pipes sound
> from guest to network stream....???? (I am just throwing out
> buzzwords here, as I have near to no clue on how the Linux
> sound system actually works and the state of it...! ;-) )

Yes, a sound server, like jackd or the very 'popular'
pulseaudio will be required if you want to share audio
hardware between different guests.

A network connection is probably prefered over a unix
socket connection, but both should work if done properly.

HTH,
Herbert

> BR,
> Tor Rune Skoglund, trs@swi.no