mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 06:32:44 +00:00
Update spice-common submodule
This brings in the following changes:
Frediano Ziglio (18):
snd_codec: Use better types for snd_codec_is_capable
snd_codec: Use better type for function result
snd_codec: Use better type for snd_codec_create mode
backtrace: Do not attempt to compile if spice_backtrace is empty
Avoid usage of GCC extension for __VA_ARGS__ where possible
helper-fuzzer-demarshallers: Provide replacement for ftello for MSVC
quic_tmpl: Remove unused bpc parameter
ssl_verify: Do not check IP if we fail to resolve it
proto: Add support for side mouse buttons
quic: Constify a parameter
quic: Fix typo in comment
agent: Extend agent_check_message to support VDAgentMonitorsConfig extension
quic: Check we have some data to start decoding quic image
quic: Check image size in quic_decode_begin
quic: Check RLE lengths
quic: Avoid possible buffer overflow in find_bucket
test-quic: Add fuzzer capabilities to the test
test-quic: Add test cases for quic fuzzer
Haochen Tong (2):
pixman_utils: fix clang "unused functions" warning
marshal: fix clang "missing field initializer" warning on generated files
Marc-André Lureau (1):
agent: fix vdagent monitor flag filtering
Changes in sound.cpp are required due to improved types.
In particular some security related changes are imported.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Acked-by: Uri Lublin <ulublin@redhat.com>
This commit is contained in:
parent
37fd91a51f
commit
4f71d0cdb7
@ -340,8 +340,8 @@ bool RecordChannelClient::handle_message(uint16_t type, uint32_t size, void *mes
|
||||
mode_time = msg_mode->time;
|
||||
if (msg_mode->mode != SPICE_AUDIO_DATA_MODE_RAW) {
|
||||
if (snd_codec_is_capable((SpiceAudioDataMode) msg_mode->mode, channel->frequency)) {
|
||||
if (snd_codec_create(&codec, msg_mode->mode, channel->frequency,
|
||||
SND_CODEC_DECODE) == SND_CODEC_OK) {
|
||||
if (snd_codec_create(&codec, (SpiceAudioDataMode) msg_mode->mode,
|
||||
channel->frequency, SND_CODEC_DECODE) == SND_CODEC_OK) {
|
||||
mode = msg_mode->mode;
|
||||
} else {
|
||||
red_channel_warning(channel, "create decoder failed");
|
||||
@ -1004,7 +1004,7 @@ PlaybackChannelClient::PlaybackChannelClient(PlaybackChannel *channel,
|
||||
reds_config_get_playback_compression(channel->get_server());
|
||||
int desired_mode = snd_desired_audio_mode(playback_compression, channel->frequency, client_can_opus);
|
||||
if (desired_mode != SPICE_AUDIO_DATA_MODE_RAW) {
|
||||
if (snd_codec_create(&codec, desired_mode, channel->frequency,
|
||||
if (snd_codec_create(&codec, (SpiceAudioDataMode) desired_mode, channel->frequency,
|
||||
SND_CODEC_ENCODE) == SND_CODEC_OK) {
|
||||
mode = desired_mode;
|
||||
} else {
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit a95ba61d324e6e30e1c5b8e936176ff71af4d938
|
||||
Subproject commit d589542e0492888ac1b300200c7c6cb4eaf88cb0
|
||||
Loading…
Reference in New Issue
Block a user