mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-01-08 13:07:17 +00:00
add SPICE_MSG_PLAYBACK_LATENCY
SPICE_MSG_PLAYBACK_LATENCY is intended for adjusting the latency of the audio playback. It is used for synchronizing the audio and video playback. The corresponding capability is SPICE_PLAYBACK_CAP_LATENCY.
This commit is contained in:
parent
7cdf8de00a
commit
30e84783ca
@ -469,6 +469,10 @@ typedef struct SpiceMsgPlaybackPacket {
|
||||
uint32_t data_size;
|
||||
} SpiceMsgPlaybackPacket, SpiceMsgcRecordPacket;
|
||||
|
||||
typedef struct SpiceMsgPlaybackLatency {
|
||||
uint32_t latency_ms;
|
||||
} SpiceMsgPlaybackLatency;
|
||||
|
||||
typedef struct SpiceMsgRecordStart {
|
||||
uint32_t channels;
|
||||
uint32_t format; //SPICE_AUDIO_FMT_?
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit a04cc68ba16c5ad8cf1f35b61c1464ef96bdfb0c
|
||||
Subproject commit 4f868cc354b617f55a0983fd2b2eafcb223b5772
|
||||
@ -1102,6 +1102,10 @@ channel PlaybackChannel : BaseChannel {
|
||||
Empty stop;
|
||||
AudioVolume volume;
|
||||
AudioMute mute;
|
||||
|
||||
message {
|
||||
uint32 latency_ms;
|
||||
} latency;
|
||||
};
|
||||
|
||||
channel RecordChannel : BaseChannel {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user