mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-14 00:04:13 +09:00
introduce -vsync, -async options
This commit is contained in:
@@ -677,6 +677,7 @@ raop_rtp_thread_udp(void *arg)
|
||||
audio_data.seqnum = seqnum;
|
||||
audio_data.data_len = payload_size;
|
||||
audio_data.data = payload;
|
||||
audio_data.ct = raop_rtp->ct;
|
||||
if (have_synced) {
|
||||
if (ntp_timestamp == 0) {
|
||||
ntp_timestamp = (uint64_t) (raop_rtp->rtp_sync_offset + (int64_t) (raop_rtp->rtp_clock_rate * rtp64_timestamp));
|
||||
|
||||
@@ -31,6 +31,7 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
unsigned char *data;
|
||||
unsigned char ct;
|
||||
int data_len;
|
||||
int sync_status;
|
||||
uint64_t ntp_time_local;
|
||||
|
||||
Reference in New Issue
Block a user