[Spice-commits] server/snd_worker.c
Gerd Hoffmann
kraxel at kemper.freedesktop.org
Tue May 25 23:41:41 PDT 2010
server/snd_worker.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit b0bb395576b568638c0de10522cbe3aba1623cac
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Wed May 26 08:40:46 2010 +0200
sound: code style fixups
diff --git a/server/snd_worker.c b/server/snd_worker.c
index e8d6715..2deb8a3 100644
--- a/server/snd_worker.c
+++ b/server/snd_worker.c
@@ -1012,8 +1012,9 @@ static void snd_set_playback_peer(Channel *channel, RedsStreamContext *peer, int
SPICE_AUDIO_DATA_MODE_RAW;
on_new_playback_channel(worker);
- if (worker->active)
+ if (worker->active) {
spice_server_playback_start(st->sin);
+ }
snd_playback_send(worker->connection);
return;
@@ -1171,8 +1172,9 @@ static void snd_set_record_peer(Channel *channel, RedsStreamContext *peer, int m
record_channel->celt_decoder = celt_decoder;
on_new_record_channel(worker);
- if (worker->active)
+ if (worker->active) {
spice_server_record_start(st->sin);
+ }
snd_record_send(worker->connection);
return;
More information about the Spice-commits
mailing list