diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-09-27 14:31:52 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-09-27 14:31:52 +0200 |
commit | 1e0d0d994e2079718e95eedcccbeded771d90c68 (patch) | |
tree | a9241fd61a8965a428ae494c4832a291856b0947 | |
parent | e63dbb458242d73a86776acdaf1102e65624ae14 (diff) |
misc
-rw-r--r-- | gtk/README | 5 | ||||
-rw-r--r-- | gtk/spice-pulse.c | 6 |
2 files changed, 6 insertions, 5 deletions
@@ -27,8 +27,9 @@ What you can find here libspice-client-glib provides glib objects for spice protocol decoding and surface rendering. - * SpiceSession (see spice-session.h) - * SpiceChannel (see spice-session.h) + * SpiceSession (see spice-session.h). + * SpiceChannel (see spice-channel.h). + * Various Spice<Type>Channel (see channel-<type>.h). libspice-client-pulse provides glib objects for sound support via pulseaudio. diff --git a/gtk/spice-pulse.c b/gtk/spice-pulse.c index f58fd68..02f6864 100644 --- a/gtk/spice-pulse.c +++ b/gtk/spice-pulse.c @@ -70,7 +70,7 @@ static void spice_pulse_class_init(SpicePulseClass *klass) /* ------------------------------------------------------------------ */ -static void playback_start(SpiceChannel *channel, gint format, gint channels, +static void playback_start(SpicePlaybackChannel *channel, gint format, gint channels, gint frequency, gpointer data) { SpicePulse *pulse = data; @@ -107,7 +107,7 @@ static void playback_start(SpiceChannel *channel, gint format, gint channels, } } -static void playback_data(SpiceChannel *channel, gpointer *audio, gint size, +static void playback_data(SpicePlaybackChannel *channel, gpointer *audio, gint size, gpointer data) { SpicePulse *pulse = data; @@ -129,7 +129,7 @@ static void playback_data(SpiceChannel *channel, gpointer *audio, gint size, } } -static void playback_stop(SpiceChannel *channel, gpointer data) +static void playback_stop(SpicePlaybackChannel *channel, gpointer data) { SpicePulse *pulse = data; spice_pulse *p = pulse->priv; |