Improve AV-sync when initial delay is set and NetEq has long buffer.
Review URL: https://webrtc-codereview.appspot.com/1324006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3883 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -31,6 +31,10 @@
|
||||
#define SHARED_MEM_SIZE 640
|
||||
#endif
|
||||
|
||||
#define SYNC_PAYLOAD_LEN_BYTES 7
|
||||
static const uint8_t kSyncPayload[SYNC_PAYLOAD_LEN_BYTES] = {
|
||||
'a', 'v', 's', 'y', 'n', 'c', '\0' };
|
||||
|
||||
/* Struct to hold the NetEQ instance */
|
||||
typedef struct
|
||||
{
|
||||
@ -58,4 +62,8 @@ int WebRtcNetEQ_DSPinit(MainInst_t *inst);
|
||||
/* The DSP side will call this function to interrupt the MCU side */
|
||||
int WebRtcNetEQ_DSP2MCUinterrupt(MainInst_t *inst, int16_t *pw16_shared_mem);
|
||||
|
||||
/* Returns 1 if the given payload matches |kSyncPayload| payload, otherwise
|
||||
* 0 is returned. */
|
||||
int WebRtcNetEQ_IsSyncPayload(const void* payload, int payload_len_bytes);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user