[Spice-devel] [spice-gtk PATCH v5 0/4] spice-gtk volume-sync with volume-info async

Victor Toso victortoso at redhat.com
Fri Apr 3 06:53:53 PDT 2015


(needs spice-protocol patch)

I'm new to the GSimpleAsyncResult API. Thanks in advance for any comment on it :-)

spice-gtk v5:
 - changed spice-audio get volume/mute sync functions to get volume_info async;
 - wrap gstreamer sync functions to work async;
 - pulseaudio using restore-api to retrieve stream information; tested:
   > with and without the db file;
   > by changing volume in the client;
   > by changing volume in the guest;
   > before and after pulse context is in READY state.

 - removed pulseaudio awareness of client volume-changes as client changes
   *should* be storaged in the db file automatically by pulseaudio
 - agent does not use g_idle_add anymore.

Victor Toso (4):
  audio: spice-audio with get mute and volume
  audio: spice-pulse implement async volume-info
  audio: spice-gstaudio implements async volume-info
  agent: sync guest audio with client values

 gtk/channel-main.c       | 130 ++++++++++++++++++++
 gtk/spice-audio.h        |  23 +++-
 gtk/spice-gstaudio.c     | 179 +++++++++++++++++++++++++++-
 gtk/spice-pulse.c        | 301 +++++++++++++++++++++++++++++++++++++++++++++--
 gtk/spice-session-priv.h |   2 +-
 5 files changed, 622 insertions(+), 13 deletions(-)

--
2.1.0



More information about the Spice-devel mailing list