[vdagent-linux PATCH 0/2] client to guest audio sync

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

 



(depends on spice-protocol patch)

Implementing the volume/mute synchronization with pulseaudio.

The communication to pulseaudio is async and it is necessary to have a
mainloop running. As we don't have a glib-mainloop in vdagent, the
vdagentd-audio creates and runs a mainloop to each volume-sync call.

Another possibility is to have a threaded main loop. I thought it would
be worse to have a thread running only to sync the audio when the clients
connect. It may be good/useful in other cases.

Related to: https://bugzilla.redhat.com/show_bug.cgi?id=1012868

Victor Toso (2):
  audio: add functions to set volume/mute with pulse
  vdagentd: volume synchronization from client.

 Makefile.am          |   6 +-
 configure.ac         |   1 +
 src/vdagentd-audio.c | 250 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/vdagentd-audio.h |  27 ++++++
 src/vdagentd.c       |  18 ++++
 5 files changed, 300 insertions(+), 2 deletions(-)
 create mode 100644 src/vdagentd-audio.c
 create mode 100644 src/vdagentd-audio.h

-- 
2.1.0

_______________________________________________
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]