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:
Yonit Halperin 2013-01-09 16:11:29 -05:00
parent 7cdf8de00a
commit 30e84783ca
3 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -1102,6 +1102,10 @@ channel PlaybackChannel : BaseChannel {
Empty stop;
AudioVolume volume;
AudioMute mute;
message {
uint32 latency_ms;
} latency;
};
channel RecordChannel : BaseChannel {