spice/common
Marc-André Lureau d1758b3288 sndworker: add AudioVolume/AudioMute messages
These messages allow the guest to send the audio device volume to the
client. It uses an arbitrary scale of 16bits, which works good enough
for now.

Save VolumeState in {Playback,Record}State, so that we can send the
current volume on channel connection.

Note about future improvements:
- add exact dB support
- add client to guest volume change

Updated since v2:
- bumped record and playback interface minor version to allow
  conditional compilation
Updated since v1:
- sync record volume on connection too
2011-06-22 12:12:26 +02:00
..
win Add files i forgot to commit 2010-07-09 11:57:09 +02:00
.gitignore fresh start 2009-10-14 15:06:41 +02:00
bitops.h common: add WIN64 ifdef for spice_bit_find_msb (fix broken windows x64 build) 2011-05-22 14:53:13 +03:00
canvas_base.c common: use PANIC from spice_common.h 2011-05-03 14:44:11 +02:00
canvas_base.h common: add windows.h where required, make gdi_handlers static 2011-05-03 16:49:56 +02:00
canvas_utils.c common: use INLINE instead of inline 2011-05-12 15:21:08 +03:00
canvas_utils.h common: add windows.h where required, make gdi_handlers static 2011-05-03 16:49:56 +02:00
draw.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
gdi_canvas.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
gdi_canvas.h autotools: correctly build canvas-related code 2011-05-03 14:44:10 +02:00
gl_canvas.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
gl_canvas.h autotools: correctly build canvas-related code 2011-05-03 14:44:10 +02:00
gl_utils.h common: don't duplicate find_msb implementation 2011-05-03 14:44:11 +02:00
glc.c move WARN and WARN_ONCE to spice_common.h 2011-05-03 14:44:11 +02:00
glc.c.save fresh start 2009-10-14 15:06:41 +02:00
glc.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
lines.c common: use INLINE instead of inline 2011-05-12 15:21:08 +03:00
lines.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
lz_common.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
lz_compress_tmpl.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
lz_config.h common: use INLINE instead of inline 2011-05-12 15:21:08 +03:00
lz_decompress_tmpl.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
lz.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
lz.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
Makefile.am common: add ssl_verify.c common code 2011-05-03 16:49:56 +02:00
marshaller.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
marshaller.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
mem.c common: spice_memdup could accept NULL 2011-05-03 16:49:56 +02:00
mem.h common: mem.h add alloca definition 2011-05-03 16:49:56 +02:00
messages.h sndworker: add AudioVolume/AudioMute messages 2011-06-22 12:12:26 +02:00
mutex.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
ogl_ctx.c move WARN and WARN_ONCE to spice_common.h 2011-05-03 14:44:11 +02:00
ogl_ctx.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
pixman_utils.c common: use INLINE instead of inline 2011-05-12 15:21:08 +03:00
pixman_utils.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
quic_config.h common: use INLINE instead of inline 2011-05-12 15:21:08 +03:00
quic_family_tmpl.c add missing static 2011-05-03 14:44:11 +02:00
quic_rgb_tmpl.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
quic_tmpl.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
quic.c common: don't duplicate find_msb implementation 2011-05-03 14:44:11 +02:00
quic.h use foo(void) instead of foo() in prototypes 2011-05-02 11:24:44 +02:00
rect.h common: use INLINE instead of inline 2011-05-12 15:21:08 +03:00
region.c common,server: use ASSERT from spice_common.h 2011-05-03 14:44:11 +02:00
region.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
ring.h common: add ring_get_length() for debugging purposes 2011-05-03 16:49:56 +02:00
rop3.c move WARN and WARN_ONCE to spice_common.h 2011-05-03 14:44:11 +02:00
rop3.h use foo(void) instead of foo() in prototypes 2011-05-02 11:24:44 +02:00
spice_common.h move get_time_stamp to main_channel.c 2011-05-03 14:44:12 +02:00
ssl_verify.c common: fix ssl_verify windows build errors 2011-05-12 15:13:40 +03:00
ssl_verify.h common: fix ssl_verify windows build errors 2011-05-12 15:13:40 +03:00
sw_canvas.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
sw_canvas.h autotools: correctly build canvas-related code 2011-05-03 14:44:10 +02:00