mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-07 08:42:32 +00:00
snd_desired_audio_mode: change arguments to bool
client_can_celt and client_can_opus are true/false values, so use 'bool' type instead of 'int.
This commit is contained in:
parent
9b0824bae4
commit
9d49c6bb03
@ -974,7 +974,7 @@ void snd_set_playback_latency(RedClient *client, uint32_t latency)
|
||||
}
|
||||
|
||||
static int snd_desired_audio_mode(bool playback_compression, int frequency,
|
||||
int client_can_celt, int client_can_opus)
|
||||
bool client_can_celt, bool client_can_opus)
|
||||
{
|
||||
if (! playback_compression)
|
||||
return SPICE_AUDIO_DATA_MODE_RAW;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user