summaryrefslogtreecommitdiffstats
path: root/server/snd_worker.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2011-02-27 09:38:04 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2011-02-27 16:55:22 +0100
commitd47912241f4bc263cf3c19c07ed3907681826277 (patch)
tree5729d1503fc6f11a11998340fa25b1fcbc3eb995 /server/snd_worker.c
parent29be54f6d3549c44b2b771ca3c21952d2d1b7026 (diff)
downloadspice-d47912241f4bc263cf3c19c07ed3907681826277.tar.gz
spice-d47912241f4bc263cf3c19c07ed3907681826277.tar.xz
spice-d47912241f4bc263cf3c19c07ed3907681826277.zip
server: s/RedsStreamContext/RedsStream
https://bugs.freedesktop.org/show_bug.cgi?id=34795
Diffstat (limited to 'server/snd_worker.c')
-rw-r--r--server/snd_worker.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/snd_worker.c b/server/snd_worker.c
index 6c0f9d68..2cd4d92b 100644
--- a/server/snd_worker.c
+++ b/server/snd_worker.c
@@ -73,7 +73,7 @@ typedef void (*cleanup_channel_proc)(SndChannel *channel);
typedef struct SndWorker SndWorker;
struct SndChannel {
- RedsStreamContext *peer;
+ RedsStream *peer;
SndWorker *worker;
spice_parse_channel_func_t parser;
@@ -734,7 +734,7 @@ static void snd_record_send(void* data)
}
static SndChannel *__new_channel(SndWorker *worker, int size, uint32_t channel_id,
- RedsStreamContext *peer,
+ RedsStream *peer,
int migrate, send_messages_proc send_messages,
handle_message_proc handle_message,
on_message_done_proc on_message_done,
@@ -931,7 +931,7 @@ static void snd_playback_cleanup(SndChannel *channel)
celt051_mode_destroy(playback_channel->celt_mode);
}
-static void snd_set_playback_peer(Channel *channel, RedsStreamContext *peer, int migration,
+static void snd_set_playback_peer(Channel *channel, RedsStream *peer, int migration,
int num_common_caps, uint32_t *common_caps, int num_caps,
uint32_t *caps)
{
@@ -1097,7 +1097,7 @@ static void snd_record_cleanup(SndChannel *channel)
celt051_mode_destroy(record_channel->celt_mode);
}
-static void snd_set_record_peer(Channel *channel, RedsStreamContext *peer, int migration,
+static void snd_set_record_peer(Channel *channel, RedsStream *peer, int migration,
int num_common_caps, uint32_t *common_caps, int num_caps,
uint32_t *caps)
{