Re: [spice-gtk PATCH v2 7/7] channel: playback and record sync volume/mute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, Mar 23, 2015 at 12:40:45PM -0400, Marc-André Lureau wrote:
> Hi
> 
> ----- Original Message -----
> > On Mon, Mar 23, 2015 at 10:03:10AM -0400, Marc-André Lureau wrote:
> > > Hi
> > > 
> > > ----- Original Message -----
> > > > Hi,
> > > > 
> > > > On Mon, Mar 23, 2015 at 09:47:07AM -0400, Marc-André Lureau wrote:
> > > > > Hi
> > > > > 
> > > > > ----- Original Message -----
> > > > > > As soon as playback-start and record-start are handled, sync
> > > > > > volume/mute
> > > > > > with guest.
> > > > > 
> > > > > It sounds like this may make a glitch whenever audio start (especially
> > > > > because the volume units are not specified and differ between client,
> > > > > guest and hw). Why not sync only when the agent is started?
> > > > 
> > > > The main problem for that is when the channel is not created yet which
> > > > will fail getting the volume/mute values.
> > > 
> > > Why do you need to wait for the channel to be created? I thought all you
> > > need is SpiceAudio.
> > 
> > To get volume from the stream, you need the stream created, no? The
> > volume-sync failed a few times because of that.
> 
> Right, so why not start it to get the volume? I am afraid that we will
> have more volume issues if we start synchronizing whenever playback
> starts.

I agree, it could lead to more issues.
I did not think about starting it before, thanks! Looks like it worked
fine.
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]