mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-07 08:42:32 +00:00
snd: simplify reds_register_channel() call
Give channel argument directly Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
e7c79b71a4
commit
00357bb2f3
@ -1534,7 +1534,7 @@ void snd_attach_playback(SpicePlaybackInstance *sin)
|
||||
|
||||
playback_worker->base_channel = channel;
|
||||
add_worker(playback_worker);
|
||||
reds_register_channel(playback_worker->base_channel);
|
||||
reds_register_channel(channel);
|
||||
}
|
||||
|
||||
void snd_attach_record(SpiceRecordInstance *sin)
|
||||
@ -1563,7 +1563,7 @@ void snd_attach_record(SpiceRecordInstance *sin)
|
||||
|
||||
record_worker->base_channel = channel;
|
||||
add_worker(record_worker);
|
||||
reds_register_channel(record_worker->base_channel);
|
||||
reds_register_channel(channel);
|
||||
}
|
||||
|
||||
static void snd_detach_common(SndWorker *worker)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user