mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-07 12:07:09 +03:00
AirPlay progress with synchro
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef _HAIRTUNES_H_
|
||||
#define _HAIRTUNES_H_
|
||||
|
||||
#include "raop_sink.h"
|
||||
#include "util.h"
|
||||
|
||||
typedef struct {
|
||||
@@ -8,11 +9,10 @@ typedef struct {
|
||||
struct rtp_s *ctx;
|
||||
} rtp_resp_t;
|
||||
|
||||
typedef void (*rtp_data_cb_t)(const u8_t *data, size_t len);
|
||||
|
||||
rtp_resp_t rtp_init(struct in_addr host, bool sync, bool drift, bool range, int latency,
|
||||
rtp_resp_t rtp_init(struct in_addr host, int latency,
|
||||
char *aeskey, char *aesiv, char *fmtpstr,
|
||||
short unsigned pCtrlPort, short unsigned pTimingPort, rtp_data_cb_t data_cb);
|
||||
short unsigned pCtrlPort, short unsigned pTimingPort,
|
||||
raop_cmd_cb_t cmd_cb, raop_data_cb_t data_cb);
|
||||
void rtp_end(struct rtp_s *ctx);
|
||||
bool rtp_flush(struct rtp_s *ctx, unsigned short seqno, unsigned rtptime);
|
||||
void rtp_record(struct rtp_s *ctx, unsigned short seqno, unsigned rtptime);
|
||||
|
||||
Reference in New Issue
Block a user