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 98254309..3f9c3022 100644
--- a/server/sound.c
+++ b/server/sound.c
@@ -1041,7 +1041,7 @@ SPICE_GNUC_VISIBLE void spice_server_playback_start(SpicePlaybackInstance *sin)
if (!channel)
return;
spice_assert(!playback_channel->base.active);
- reds_disable_mm_time();
+ reds_disable_mm_time(reds);
playback_channel->base.active = TRUE;
if (!playback_channel->base.client_active) {
snd_set_command(&playback_channel->base, SND_PLAYBACK_CTRL_MASK);
@@ -1174,7 +1174,7 @@ static void on_new_playback_channel(SndWorker *worker)
snd_set_command((SndChannel *)playback_channel, SND_PLAYBACK_VOLUME_MASK);
}
if (playback_channel->base.active) {
- reds_disable_mm_time();
+ reds_disable_mm_time(reds);
}
}