diff options
Diffstat (limited to 'server/sound.c')
-rw-r--r-- | server/sound.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sound.c b/server/sound.c index ca1e0ff4..f44eb479 100644 --- a/server/sound.c +++ b/server/sound.c @@ -1515,7 +1515,7 @@ void snd_attach_playback(SpicePlaybackInstance *sin) sin->st->frequency = SND_CODEC_CELT_PLAYBACK_FREQ; /* Default to the legacy rate */ // TODO: Make RedChannel base of worker? instead of assigning it to channel->data - channel = red_channel_create_dummy(sizeof(RedChannel), SPICE_CHANNEL_PLAYBACK, 0); + channel = red_channel_create_dummy(sizeof(RedChannel), reds, SPICE_CHANNEL_PLAYBACK, 0); channel->data = playback_worker; client_cbs.connect = snd_set_playback_peer; @@ -1546,7 +1546,7 @@ void snd_attach_record(SpiceRecordInstance *sin) sin->st->frequency = SND_CODEC_CELT_PLAYBACK_FREQ; /* Default to the legacy rate */ // TODO: Make RedChannel base of worker? instead of assigning it to channel->data - channel = red_channel_create_dummy(sizeof(RedChannel), SPICE_CHANNEL_RECORD, 0); + channel = red_channel_create_dummy(sizeof(RedChannel), reds, SPICE_CHANNEL_RECORD, 0); channel->data = record_worker; client_cbs.connect = snd_set_record_peer; |