Define bounded audio timeline and playback clock contracts
This commit is contained in:
1 parent
4939ee7fb0
commit
b5bd45c4da
2 files changed
+69
No files matched your search
@@ -0,0 +1,14 @@
|
||||
/* Снимок часов входящего аудио. PTS принадлежит шкале захвата удалённой стороны.
|
||||
* epoch — локальная эпоха устройства; source_epoch — поколение удалённого encoder.
|
||||
* valid=0 запрещает продвижение видео по этому снимку. measured отличает аппаратную
|
||||
* отметку от оценки backend. Тишина устройства/тоны удерживают PTS, remote mute — нет. */
|
||||
#ifndef CALL_CLOCK_H
|
||||
#define CALL_CLOCK_H
|
||||
#include <stdint.h>
|
||||
struct call_clock_snapshot {
|
||||
uint64_t epoch, source_epoch, played_samples, written_samples;
|
||||
int64_t pts_us;
|
||||
uint32_t held_back_us;
|
||||
int valid, measured;
|
||||
};
|
||||
#endif
|
||||
Reference in new issue
Block a user