summaryrefslogtreecommitdiffstats
path: root/server/sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/sound.c')
-rw-r--r--server/sound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sound.c b/server/sound.c
index 0dadbd83..98254309 100644
--- a/server/sound.c
+++ b/server/sound.c
@@ -1060,7 +1060,7 @@ SPICE_GNUC_VISIBLE void spice_server_playback_stop(SpicePlaybackInstance *sin)
if (!channel)
return;
spice_assert(playback_channel->base.active);
- reds_enable_mm_time();
+ reds_enable_mm_time(reds);
playback_channel->base.active = FALSE;
if (playback_channel->base.client_active) {
snd_set_command(&playback_channel->base, SND_PLAYBACK_CTRL_MASK);
@@ -1183,7 +1183,7 @@ static void snd_playback_cleanup(SndChannel *channel)
PlaybackChannel *playback_channel = SPICE_CONTAINEROF(channel, PlaybackChannel, base);
if (playback_channel->base.active) {
- reds_enable_mm_time();
+ reds_enable_mm_time(reds);
}
snd_codec_destroy(&playback_channel->codec);