mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-31 20:04:09 +00:00
sound: Reuse record_client variable
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
00a701e787
commit
f301d3efc1
@ -418,7 +418,7 @@ static int snd_record_handle_message(SndChannelClient *client, size_t size, uint
|
||||
}
|
||||
switch (type) {
|
||||
case SPICE_MSGC_RECORD_DATA:
|
||||
return snd_record_handle_write((RecordChannelClient *)client, size, message);
|
||||
return snd_record_handle_write(record_client, size, message);
|
||||
case SPICE_MSGC_RECORD_MODE: {
|
||||
SpiceMsgcRecordMode *mode = (SpiceMsgcRecordMode *)message;
|
||||
SndChannel *channel = client->channel;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user